/* =========================================================
   TAYSIER TECH — Design system
   Inspired by Stripe / Apple / Microsoft product sites
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
    --tt-ink: #2c0245;
    --tt-ink-soft: #4a1570;
    --tt-muted: #5C5668;
    --tt-faint: #8A8496;
    --tt-brand: #2c0245;
    --tt-brand-2: #4a1570;
    --tt-deep: #2c0245;
    --tt-surface: #F6F7FB;
    --tt-white: #FFFFFF;
    --tt-line: rgba(44, 2, 69, 0.08);
    --tt-line-strong: rgba(44, 2, 69, 0.14);
    --tt-shadow: 0 1px 2px rgba(44, 2, 69, 0.04), 0 12px 32px rgba(44, 2, 69, 0.06);
    --tt-shadow-lg: 0 24px 64px rgba(44, 2, 69, 0.12);
    --tt-radius: 16px;
    --tt-radius-sm: 10px;
    --tt-nav-h: 88px;
    --bs-primary: #2c0245;
    --bs-primary-rgb: 44, 2, 69;
    --primary-color: #2c0245;
    --secondary-color: #2c0245;
    --dark-color: #2c0245;
    --light-color: #F6F7FB;
    --white-color: #fff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Tajawal', 'Inter', 'Segoe UI', sans-serif;
    color: var(--tt-ink);
    background: var(--tt-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--tt-brand); text-decoration: none; }
a:hover { color: var(--tt-brand-2); }

.container,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 1140px;
}

/* ---------- Buttons ---------- */
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none !important;
    line-height: 1.2;
    cursor: pointer;
}

.tt-btn:hover { transform: translateY(-1px); }

.tt-btn-primary {
    background: var(--tt-ink);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(44, 2, 69, 0.18);
}

.tt-btn-primary:hover {
    background: #4a1570;
    color: #fff !important;
}

.tt-btn-brand {
    background: var(--tt-brand);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(44, 2, 69, 0.28);
}

.tt-btn-brand:hover { background: #5a0b94; color: #fff !important; }

.tt-btn-ghost {
    background: transparent;
    color: var(--tt-ink) !important;
    border-color: var(--tt-line-strong);
}

.tt-btn-ghost:hover {
    background: var(--tt-surface);
    color: var(--tt-ink) !important;
}

.tt-btn-light {
    background: #fff;
    color: var(--tt-ink) !important;
}

.tt-btn-outline-light {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
}

.tt-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.btn-primary {
    background: var(--tt-brand);
    border-color: var(--tt-brand);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #5a0b94;
    border-color: #5a0b94;
}

.btn-outline-primary {
    color: var(--tt-brand);
    border-color: var(--tt-brand);
}

/* ---------- Navbar ---------- */
.tt-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    height: 82px;
    min-height: 82px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(44, 2, 69, 0.08);
    box-shadow: 0 2px 16px rgba(44, 2, 69, 0.04);
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
}

.tt-nav .container,
.tt-nav .container-fluid,
.tt-nav-inner {
    height: 100%;
    max-width: 96%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.tt-toggler-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(44, 2, 69, 0.14);
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(44, 2, 69, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tt-toggler-btn:hover,
.tt-toggler-btn:focus {
    background: rgba(44, 2, 69, 0.05);
    border-color: var(--tt-brand);
}

.tt-toggler-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--tt-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tt-toggler-btn[aria-expanded="true"] .tt-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.tt-toggler-btn[aria-expanded="true"] .tt-toggler-bar:nth-child(2) {
    opacity: 0;
}

.tt-toggler-btn[aria-expanded="true"] .tt-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.tt-logout-label {
    display: none;
}

.tt-nav .navbar-brand.tt-brand-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
    margin-inline-end: 1.25rem;
    transition: transform 0.2s ease;
}

.tt-nav .navbar-brand.tt-brand-wrapper:hover {
    transform: translateY(-1px);
}

.tt-nav .tt-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.04));
}

/* Capsule Navigation: Shared Background Template */
.tt-nav-capsule-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 6px;
    flex-grow: 1;
}

.tt-nav-capsule-container::-webkit-scrollbar {
    display: none;
}

.tt-nav-capsule {
    background: rgba(44, 2, 69, 0.05);
    border: 1px solid rgba(44, 2, 69, 0.09);
    border-radius: 50px;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    box-shadow: inset 0 1px 3px rgba(44, 2, 69, 0.03);
}

.tt-capsule-link {
    color: #4a4554 !important;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 0.48rem 1.05rem !important;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.tt-capsule-icon {
    font-size: 0.94rem;
    color: rgba(44, 2, 69, 0.55);
    transition: all 0.2s ease;
}

.tt-capsule-link:hover {
    color: var(--tt-brand) !important;
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-1px);
}

.tt-capsule-link:hover .tt-capsule-icon {
    color: var(--tt-brand);
    transform: scale(1.1);
}

.tt-capsule-link.active {
    color: var(--tt-brand) !important;
    background: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(44, 2, 69, 0.09);
    border: 1px solid rgba(44, 2, 69, 0.06);
}

.tt-capsule-link.active .tt-capsule-icon {
    color: var(--tt-brand);
}

/* Capsule Badge */
.tt-capsule-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    color: #8a6800;
    border: 1px solid rgba(212, 175, 55, 0.35);
    line-height: 1.2;
    margin-inline-start: 2px;
}

/* Actions: Single Line, No Wrapping */
.tt-nav-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 8px;
    white-space: nowrap;
    margin-inline-start: 0.75rem;
}

.tt-lang-btn {
    background: #ffffff;
    border: 1px solid rgba(44, 2, 69, 0.14);
    color: var(--tt-ink);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.75rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.tt-lang-btn:hover,
.tt-lang-btn:focus {
    background: rgba(44, 2, 69, 0.04);
    border-color: var(--tt-brand);
    color: var(--tt-brand);
}

.tt-lang-menu {
    border-radius: 12px;
    border: 1px solid rgba(44, 2, 69, 0.1);
    box-shadow: 0 10px 30px rgba(44, 2, 69, 0.1);
    padding: 6px;
    min-width: 140px;
}

.tt-lang-menu .dropdown-item {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.42rem 0.75rem;
    border-radius: 8px;
    color: var(--tt-ink);
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}

.tt-lang-menu .dropdown-item:hover {
    background: rgba(44, 2, 69, 0.06);
    color: var(--tt-brand);
}

.tt-nav-auth-btn {
    border: 1px solid rgba(44, 2, 69, 0.16);
    background: #ffffff;
    color: var(--tt-brand) !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.40rem 0.85rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(44, 2, 69, 0.03);
    transition: all 0.2s ease;
}

.tt-nav-auth-btn:hover {
    background: var(--tt-brand);
    color: #ffffff !important;
    border-color: var(--tt-brand);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(44, 2, 69, 0.16);
}

.tt-dashboard-pill {
    background: rgba(44, 2, 69, 0.06);
    border-color: rgba(44, 2, 69, 0.2);
}

.tt-nav-logout-btn {
    color: #b91c1c !important;
    background: rgba(239, 68, 68, 0.08);
    font-size: 0.82rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tt-nav-logout-btn:hover {
    background: #dc2626;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.tt-nav-cta-btn {
    background: linear-gradient(135deg, #2c0245 0%, #4a0d70 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.42rem 1.05rem;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 3px 12px rgba(44, 2, 69, 0.2);
    transition: all 0.2s ease;
}

.tt-nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(44, 2, 69, 0.3);
    filter: brightness(1.06);
}

@media (max-width: 991.98px) {
    .tt-nav {
        height: 64px;
        min-height: 64px;
    }

    .tt-nav .tt-brand-logo {
        height: 40px;
    }

    .tt-toggler-btn {
        display: inline-flex;
    }

    .tt-nav-collapse {
        position: absolute;
        top: 100%;
        inset-inline: 0;
        z-index: 1045;
        background: #ffffff;
        border-bottom: 1px solid rgba(44, 2, 69, 0.1);
        box-shadow: 0 18px 40px rgba(44, 2, 69, 0.12);
        padding: 0.85rem 1rem 1.15rem;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .tt-nav-capsule-container {
        overflow: visible;
        padding: 0;
        justify-content: stretch;
        width: 100%;
        flex-grow: 0;
    }

    .tt-nav-capsule {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-radius: 16px;
        padding: 6px;
        white-space: normal;
        gap: 4px;
    }

    .tt-capsule-link {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
        padding: 0.7rem 0.9rem !important;
        border-radius: 12px;
    }

    .tt-nav-actions {
        flex-wrap: wrap !important;
        gap: 8px;
        margin: 0.85rem 0 0;
        width: 100%;
        white-space: normal;
    }

    .tt-lang-text {
        display: inline;
    }

    .tt-lang-btn {
        padding: 0.45rem 0.85rem;
    }

    .tt-nav-auth-btn,
    .tt-nav-cta-btn {
        justify-content: center;
        flex: 1 1 calc(50% - 8px);
    }

    .tt-nav-cta-btn {
        display: inline-flex;
        flex: 1 1 100%;
    }

    .tt-nav-logout-btn {
        width: auto;
        height: auto;
        border-radius: 30px;
        padding: 0.4rem 0.85rem;
        gap: 0.35rem;
    }

    .tt-logout-label {
        display: inline;
    }
}

@media (min-width: 992px) {
    .tt-nav-collapse {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ---------- Page hero (inner pages) ---------- */
.tt-page-hero {
    position: relative;
    padding: 88px 0 72px;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(44, 2, 69, 0.12), transparent 60%),
        radial-gradient(700px 360px at 0% 120%, rgba(124, 58, 237, 0.08), transparent 55%),
        var(--tt-surface);
    overflow: hidden;
}

.tt-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(44, 2, 69, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 2, 69, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
    pointer-events: none;
}

.tt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tt-brand);
    margin-bottom: 14px;
}

.tt-page-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--tt-ink);
    margin-bottom: 14px;
}

.tt-page-hero p {
    font-size: 1.08rem;
    color: var(--tt-muted);
    max-width: 640px;
    margin: 0;
    line-height: 1.85;
}

.tt-page-hero .container { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
.tt-section {
    padding: 96px 0;
    position: relative;
}

.tt-section-sm { padding: 72px 0; }
.tt-bg-soft { background: var(--tt-surface); }
.tt-bg-white { background: #fff; }
.tt-bg-ink {
    background: var(--tt-ink);
    color: #fff;
}

.tt-heading {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--tt-ink);
    margin-bottom: 12px;
}

.tt-bg-ink .tt-heading,
.tt-heading-light { color: #fff; }

/* Smaller heading for cards and side blocks */
.tt-heading-sm {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.35;
}

/* Hero-scale heading for landing sections without a page hero */
.tt-heading-xl { font-size: clamp(2rem, 4vw, 3.2rem); }

.tt-lead {
    color: var(--tt-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 560px;
}

.tt-bg-ink .tt-lead { color: rgba(255, 255, 255, 0.68); }

/* Body copy that should fill its column instead of the reading-width cap */
.tt-lead-wide { max-width: none; }

.tt-center { text-align: center; }
.tt-center .tt-lead { margin-inline: auto; }

/* ---------- Home hero ---------- */
.tt-home-hero {
    position: relative;
    padding: 158px 0 142px;
    min-height: clamp(500px, 74vh, 760px);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f6f3fb 0%, #fbfafd 60%, #fff 100%);
    overflow: hidden;
}

/* Dotted world map bleeding off the right edge */
.tt-hero-map {
    position: absolute;
    top: 46%;
    right: -7%;
    transform: translateY(-50%);
    width: min(880px, 70%);
    aspect-ratio: 1340 / 530;
    background: url('../images/world-dots.svg') no-repeat center / contain;
    opacity: 0.72;
    mask-image: linear-gradient(to left, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Layered angular sheets anchored to the top-left corner */
.tt-hero-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: min(410px, 34vw);
    aspect-ratio: 460 / 520;
    background: url('../images/hero-corner.svg') no-repeat left top / 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.tt-home-hero .container { position: relative; z-index: 1; width: 100%; }

.tt-hero-simple {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.tt-hero-brand {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tt-brand);
    margin: 0 0 14px;
}

.tt-home-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.18;
    color: var(--tt-ink);
    margin: 0 0 16px;
}

.tt-home-hero h1 span {
    color: var(--tt-brand);
}

.tt-home-hero .tt-hero-copy {
    font-size: 1.08rem;
    color: var(--tt-muted);
    line-height: 1.85;
    margin: 0 auto 28px;
    max-width: 480px;
}

.tt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Quiet company impression */
.tt-statement {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.tt-statement h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.28;
    color: var(--tt-ink);
    margin: 0 0 18px;
}

.tt-statement p:last-child {
    margin: 0 auto;
    max-width: 540px;
    color: var(--tt-muted);
    font-size: 1.08rem;
    line-height: 1.9;
}

.tt-impress-card {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tt-line);
    box-shadow: var(--tt-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-impress-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-impress-media {
    height: 168px;
    overflow: hidden;
    background: var(--tt-surface);
}

.tt-impress-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tt-impress-card:hover .tt-impress-media img {
    transform: scale(1.05);
}

.tt-impress-body {
    padding: 20px 22px 24px;
    text-align: center;
}

.tt-impress-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--tt-ink);
}

.tt-impress-body p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 0.95rem;
}

/* Shared frame (inner pages) */
.tt-frame {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 18px;
    box-shadow: var(--tt-shadow-lg);
    overflow: hidden;
}

.tt-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f3f4f8;
    border-bottom: 1px solid var(--tt-line);
}

.tt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9dce6;
}

.tt-frame img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.tt-frame-lg img { height: 360px; }
.tt-frame-xl img { height: 420px; }

/* ---------- Solutions with images ---------- */
.tt-solution-card {
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tt-line);
    box-shadow: var(--tt-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-solution-media {
    height: 180px;
    overflow: hidden;
    background: var(--tt-surface);
}

.tt-solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tt-solution-card:hover .tt-solution-media img {
    transform: scale(1.05);
}

.tt-solution-body {
    padding: 22px 22px 26px;
}

.tt-solution-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--tt-ink);
    line-height: 1.45;
}

.tt-solution-body p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ---------- Compact rounded products ---------- */
.tt-product-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--tt-shadow);
    padding: 28px 24px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-product-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-product-pill-media {
    width: 148px;
    height: 148px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(44, 2, 69, 0.08);
    box-shadow: 0 10px 28px rgba(44, 2, 69, 0.12);
}

.tt-product-pill-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tt-product-pill-body {
    padding: 0 6px;
}

.tt-product-pill-label {
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--tt-brand);
    margin: 0 0 6px;
}

.tt-product-pill-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--tt-ink);
}

.tt-product-pill-body p {
    margin: 0 0 14px;
    color: var(--tt-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- Cards / services ---------- */
.tt-card {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    padding: 28px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow);
    border-color: rgba(44, 2, 69, 0.2);
}

.tt-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 2, 69, 0.08);
    color: var(--tt-brand);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.tt-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--tt-ink);
}

.tt-card p {
    color: var(--tt-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.75;
}

.tt-bento .tt-card-lg {
    padding: 36px;
    background:
        linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.tt-bento .tt-card-lg h3 { font-size: 1.35rem; }

.tt-card-sticky {
    position: sticky;
    top: 96px;
}

.tt-card-sticky:hover {
    transform: none;
}

.tt-side-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--tt-muted);
    margin-bottom: 2px;
}

/* ---------- Products ---------- */
.tt-product {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 28px 0;
}

.tt-product-alt { direction: inherit; }

@media (max-width: 991.98px) {
    .tt-product { grid-template-columns: 1fr; gap: 24px; }
}

.tt-product h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.tt-product .tt-en {
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tt-brand);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.tt-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.tt-chip {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tt-ink-soft);
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: 999px;
    padding: 6px 12px;
}

.tt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--tt-brand) !important;
}

.tt-link:hover { gap: 12px; color: var(--tt-brand-2) !important; }

/* ---------- Project cards ---------- */
.tt-project {
    display: block;
    border-radius: var(--tt-radius);
    overflow: hidden;
    border: 1px solid var(--tt-line);
    background: #fff;
    height: 100%;
    color: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-project:hover {
    transform: translateY(-6px);
    box-shadow: var(--tt-shadow-lg);
    color: inherit !important;
}

.tt-project-media {
    height: 200px;
    background: #ffffff;
    border-bottom: 1px solid rgba(44, 2, 69, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tt-project-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.tt-project:hover .tt-project-media img { transform: scale(1.06); }

.tt-project-body { padding: 20px 22px 24px; }

.tt-project-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin-bottom: 6px;
}

.tt-project-body p {
    color: var(--tt-muted);
    font-size: 0.9rem;
    margin: 0;
}

.tt-project-meta {
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tt-faint);
}

/* ---------- Partners ---------- */
/* ---------- Logo strips (partners / clients) ---------- */
.tt-strip {
    padding: 44px 0 52px;
    background: linear-gradient(180deg, #fff 0%, #fbfaFD 100%);
    border-bottom: 1px solid var(--tt-line);
}

.tt-strip-line {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--tt-ink-soft);
    margin: 0 0 28px;
}

.tt-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.tt-marquee-track {
    display: flex;
    width: max-content;
    animation: tt-marquee-scroll 55s linear infinite;
}

.tt-marquee-slow .tt-marquee-track { animation-duration: 78s; }

.tt-marquee:hover .tt-marquee-track { animation-play-state: paused; }

.tt-marquee-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-inline-end: 28px;
}

.tt-client {
    flex: 0 0 auto;
    width: 168px;
    height: 96px;
    border-radius: 16px;
    border: 1px solid var(--tt-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-client:hover {
    border-color: rgba(44, 2, 69, 0.2);
    box-shadow: var(--tt-shadow);
}

.tt-client img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.tt-client:hover img { transform: scale(1.04); }

.tt-client-lg {
    width: 230px;
    height: 132px;
    border-radius: 20px;
    padding: 18px 24px;
}

.tt-client-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--tt-ink-soft);
    text-align: center;
    line-height: 1.4;
}

@keyframes tt-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .tt-marquee-track { animation: none; }
}

/* ---------- Newsroom ---------- */
.tt-news-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.tt-news-feature {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 22px;
    overflow: hidden;
    color: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-news-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-news-feature-media {
    position: relative;
    height: 300px;
    background: var(--tt-deep);
    overflow: hidden;
}

.tt-news-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tt-news-feature:hover .tt-news-feature-media img { transform: scale(1.05); }

.tt-news-chip {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    background: rgba(44, 2, 69, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.tt-news-feature-body { padding: 24px 26px 28px; }

.tt-news-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tt-faint);
    margin-bottom: 10px;
}

.tt-news-feature-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--tt-ink);
    margin: 0 0 10px;
}

.tt-news-feature-body p {
    color: var(--tt-muted);
    font-size: 0.96rem;
    line-height: 1.8;
    margin: 0 0 16px;
}

.tt-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.tt-news-item {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 16px;
    color: inherit !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tt-news-item:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 2, 69, 0.2);
    box-shadow: var(--tt-shadow);
    color: inherit !important;
}

.tt-news-thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tt-surface);
}

.tt-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-news-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 2, 69, 0.06);
    color: var(--tt-brand);
    font-size: 1.1rem;
}

.tt-news-item-body { min-width: 0; }

.tt-news-item-body h4 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--tt-ink);
    margin: 0;
}

.tt-news-item-body .tt-news-date { margin-bottom: 6px; }

/* Newsroom cards on the news page */
.tt-news-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 18px;
    overflow: hidden;
    color: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-news-card-media {
    position: relative;
    height: 190px;
    background: var(--tt-deep);
    overflow: hidden;
}

.tt-news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-news-card-body { padding: 20px 22px 24px; }

.tt-news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--tt-ink);
    margin: 0 0 8px;
}

.tt-news-card-body p {
    color: var(--tt-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

/* News article body */
.tt-article {
    max-width: 760px;
    margin: 0 auto;
}

.tt-article-media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--tt-line);
    margin-bottom: 28px;
}

.tt-article-media img {
    width: 100%;
    display: block;
}

.tt-article-content {
    color: var(--tt-ink-soft);
    font-size: 1.05rem;
    line-height: 1.95;
    white-space: pre-line;
}

/* ---------- Team / org ---------- */
.tt-team-card {
    text-align: center;
    padding: 8px;
}

.tt-team-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(44, 2, 69, 0.1);
}

.tt-team-card h4 {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.tt-team-card .role {
    color: var(--tt-brand);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tt-team-card p {
    color: var(--tt-muted);
    font-size: 0.85rem;
    margin: 0;
}

.tt-org-layer {
    margin-bottom: 48px;
}

.tt-org-layer-title {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tt-brand);
    margin-bottom: 22px;
}

.tt-org-ceo .tt-team-photo {
    width: 140px;
    height: 140px;
}

.tt-dept {
    font-size: 0.75rem;
    color: var(--tt-muted);
    font-weight: 600;
}

/* ---------- Legal pages ---------- */
.tt-legal-notice {
    background: linear-gradient(135deg, #3a1272 0%, #2c0245 60%, #22033c 100%);
    color: #fff;
    border-radius: var(--tt-radius);
    padding: 34px 28px;
    text-align: center;
}

.tt-legal-notice h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 10px;
}

.tt-legal-notice p {
    margin: 0;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
}

.tt-legal-card {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    padding: 28px;
}

.tt-legal-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin: 0 0 10px;
}

.tt-legal-card p {
    color: var(--tt-muted);
    font-size: 0.95rem;
    line-height: 1.85;
    margin: 0 0 10px;
}

.tt-legal-card p:last-child { margin-bottom: 0; }

.tt-legal-list {
    margin: 0;
}

.tt-legal-list dt {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tt-brand);
    margin-bottom: 2px;
}

.tt-legal-list dd {
    margin: 0 0 16px;
    color: var(--tt-ink-soft);
    font-size: 0.95rem;
}

.tt-legal-list dd:last-child { margin-bottom: 0; }

.tt-legal-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tt-legal-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--tt-ink-soft);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--tt-line);
}

.tt-legal-contact li:last-child { border-bottom: 0; }

.tt-legal-contact i {
    color: var(--tt-brand);
    width: 18px;
    text-align: center;
}

.tt-legal-fr {
    background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.tt-legal-fr h3 { margin-bottom: 14px; }

.tt-legal-fr p {
    margin-bottom: 4px;
    font-size: 0.92rem;
}

.tt-legal-fr-note {
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid var(--tt-line);
    font-weight: 700;
    color: var(--tt-ink-soft) !important;
}

/* ---------- CTA band ---------- */
.tt-cta {
    position: relative;
    overflow: hidden;
    background: #2c0245;
    color: #fff;
    padding: 88px 0;
    text-align: center;
}

.tt-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #fff;
}

.tt-cta p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.tt-footer {
    background: #2c0245;
    color: rgba(255, 255, 255, 0.72);
    padding: 28px 0 14px;
}

.tt-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.tt-footer a:hover { color: #fff; }

.tt-footer-brand img {
    height: 38px;
    margin-bottom: 8px;
}

.tt-footer-brand p {
    font-size: 0.8rem;
    max-width: 260px;
    line-height: 1.5;
    margin-bottom: 0;
}

.tt-footer h6 {
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.tt-footer ul { list-style: none; padding: 0; margin: 0; }
.tt-footer li { margin-bottom: 4px; }
.tt-footer li a { font-size: 0.8rem; font-weight: 500; }

.tt-social {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tt-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 0.78rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tt-social a:hover {
    background: var(--tt-brand);
    border-color: var(--tt-brand);
}

.tt-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 16px;
    padding-top: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.tt-footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.tt-footer-bottom a:hover { color: #fff; }

.footer-bottom p,
.footer-bottom a { color: rgba(255, 255, 255, 0.55) !important; }
.footer-bottom a:hover { color: #fff !important; }

/* ---------- Contact / forms ---------- */
.tt-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tt-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    padding: 22px 20px;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-info-card:hover {
    border-color: rgba(44, 2, 69, 0.18);
    box-shadow: 0 10px 28px rgba(44, 2, 69, 0.06);
}

.tt-info-card .tt-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.tt-info-card h5 {
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tt-muted);
    margin-bottom: 6px;
}

.tt-info-card p {
    color: var(--tt-ink);
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.6;
}

.tt-info-card a {
    color: var(--tt-ink);
    text-decoration: none;
}

.tt-info-card a:hover { color: var(--tt-brand); }

.tt-contact-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.tt-contact-phones span { color: var(--tt-muted); font-weight: 500; }

.tt-switch {
    display: inline-flex;
    padding: 5px;
    background: #eceef4;
    border-radius: 999px;
    margin-bottom: 28px;
}

.tt-switch a {
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--tt-muted) !important;
}

.tt-switch a.active {
    background: #fff;
    color: var(--tt-ink) !important;
    box-shadow: 0 4px 12px rgba(44, 2, 69, 0.08);
}

.tt-form-card {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--tt-shadow);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--tt-line-strong);
    padding: 0.7rem 0.95rem;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tt-brand);
    box-shadow: 0 0 0 4px rgba(44, 2, 69, 0.12);
}

.form-label { font-weight: 700; color: var(--tt-ink); }

.tt-submit {
    width: 100%;
    border: 0;
    background: var(--tt-ink);
    color: #fff;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 12px;
    margin-top: 8px;
}

.tt-submit:hover { background: #4a1570; color: #fff; }

/* ---------- Auth ---------- */
.tt-auth {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    padding: 48px 0;
    background:
        radial-gradient(700px 320px at 80% 0%, rgba(44, 2, 69, 0.1), transparent 60%),
        var(--tt-surface);
}

.tt-auth-card {
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: var(--tt-shadow);
    max-width: 440px;
    margin: 0 auto;
}

.tt-auth-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tt-auth-note {
    color: var(--tt-muted);
    font-size: 0.9rem;
}

/* ---------- Detail sidebar ---------- */
.tt-side-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--tt-line);
}

.tt-side-item:last-child { border-bottom: 0; }

.tt-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tt-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--tt-line);
}

.tt-project-cover {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--tt-line);
    box-shadow: var(--tt-shadow);
    margin-bottom: 36px;
}

.tt-project-cover img {
    width: 100%;
    height: min(52vw, 420px);
    object-fit: cover;
    display: block;
}

.tt-project-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tt-project-meta-row span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(44, 2, 69, 0.06);
    color: var(--tt-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.tt-page-hero .tt-kicker {
    flex-wrap: wrap;
}

.tt-page-hero .tt-kicker a {
    color: inherit;
    text-decoration: none;
}

.tt-page-hero .tt-kicker a:hover { color: var(--tt-brand-2); }

.tt-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--tt-line);
}

/* ---------- Pagination ---------- */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid var(--tt-line);
    color: var(--tt-ink);
}

.pagination .page-item.active .page-link {
    background: var(--tt-ink);
    border-color: var(--tt-ink);
}

/* ---------- Float ---------- */
.tt-float {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 1030;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--tt-brand);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(44, 2, 69, 0.35);
}

.tt-float:hover { color: #fff !important; transform: translateY(-2px); }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; border: 0; }

/* ---------- Principle band ---------- */
.tt-principle {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 20px;
    padding: 28px;
}

.tt-principle p { margin: 0; color: var(--tt-muted); }

/* ---------- Coming soon ---------- */
.tt-soon {
    padding: 96px 0 80px;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(44, 2, 69, 0.14), transparent 55%),
        var(--tt-surface);
    min-height: 70vh;
}

/* ---------- Compat: older dashboard / inner pages ---------- */
.text-primary { color: var(--tt-brand) !important; }
.bg-primary { background-color: var(--tt-brand) !important; }
.bg-dark { background-color: var(--tt-ink) !important; }

.hero-section {
    background: linear-gradient(135deg, var(--tt-deep) 0%, var(--tt-brand) 100%);
    color: #fff;
}

@media (max-width: 991.98px) {
    .tt-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .tt-section { padding: 64px 0; }
    .tt-page-hero { padding: 56px 0 48px; }
    .tt-home-hero {
        padding: 112px 0 100px;
        min-height: clamp(420px, 66vh, 560px);
    }
    .tt-hero-map {
        width: 112%;
        right: -24%;
        opacity: 0.5;
    }
    .tt-hero-corner {
        width: 46vw;
    }
    .tt-news-feature-media { height: 210px; }
    .tt-form-card { padding: 22px 18px; }
    .tt-frame img { height: 200px; }
    .tt-impress-media { height: 140px; }
    .tt-project-media { height: 118px; }
    .tt-project-body { padding: 12px 12px 14px; }
    .tt-project-body h3 {
        font-size: 0.86rem;
        margin: 0;
        line-height: 1.35;
    }
    .tt-project-body p,
    .tt-project-meta { display: none; }
}

/* =========================================================
   EBYÜ ACADEMIC & ENTERPRISE PORTAL PATTERN (TAYSIR OS)
   Inspired by Erzincan Binali Yıldırım University (ebyu.edu.tr)
   Preserves Taysir Brand Colors: #2c0245 (Ink), #4a1570 (Purple), #f59e0b (Gold)
   ========================================================= */

/* Top Utility Bar */
.tt-topbar {
    background: #190128;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    padding: 7px 0;
    line-height: 1.4;
    position: relative;
    z-index: 1040;
}
.tt-topbar .container,
.tt-topbar .container-fluid {
    max-width: 96%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.tt-topbar a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    text-decoration: none;
}
.tt-topbar a:hover {
    color: var(--tt-gold, #f59e0b);
}
.tt-topbar-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
    vertical-align: middle;
}
.tt-topbar-hotline {
    font-weight: 700;
    color: #fbd38d !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Sub-Hero Quick Portals Ribbon */
.ebyu-quick-ribbon {
    position: relative;
    z-index: 20;
    margin-top: -38px;
    margin-bottom: 32px;
}
.ebyu-ribbon-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(44, 2, 69, 0.10);
    border: 1px solid rgba(44, 2, 69, 0.08);
    padding: 10px 14px;
}
.ebyu-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.ebyu-ribbon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    background: #fbfbfd;
    border: 1px solid rgba(44, 2, 69, 0.04);
    color: var(--tt-ink);
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.ebyu-ribbon-item:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 2, 69, 0.09);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--tt-ink-soft);
}
.ebyu-ribbon-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(44, 2, 69, 0.07), rgba(74, 21, 112, 0.12));
    color: var(--tt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 8px;
    transition: all 0.22s ease;
}
.ebyu-ribbon-item:hover .ebyu-ribbon-icon {
    background: linear-gradient(135deg, var(--tt-ink), var(--tt-ink-soft));
    color: #f59e0b;
}
.ebyu-ribbon-label {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.ebyu-ribbon-sub {
    font-size: 0.72rem;
    color: var(--tt-faint);
    margin-top: 2px;
    display: block;
}

/* Dual Announcements & Tech Events Hub */
.ebyu-hub-section {
    padding: 48px 0 64px;
    background: #ffffff;
}
.ebyu-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(44, 2, 69, 0.06);
}
.ebyu-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ebyu-section-title i {
    color: #f59e0b;
    font-size: 1.25rem;
}
.ebyu-section-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tt-ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ebyu-section-link:hover {
    color: #f59e0b;
}

/* Announcement Cards */
.ebyu-announcement-card {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(44, 2, 69, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    text-decoration: none !important;
    transition: all 0.22s ease;
    position: relative;
    border-right: 4px solid var(--tt-ink);
}
[dir="ltr"] .ebyu-announcement-card {
    border-right: 1px solid rgba(44, 2, 69, 0.08);
    border-left: 4px solid var(--tt-ink);
}
.ebyu-announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(44, 2, 69, 0.08);
    border-color: #f59e0b;
    border-right-color: #f59e0b;
}
[dir="ltr"] .ebyu-announcement-card:hover {
    border-left-color: #f59e0b;
}
.ebyu-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--tt-faint);
    margin-bottom: 6px;
}
.ebyu-tag-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(44, 2, 69, 0.06);
    color: var(--tt-ink-soft);
}
.ebyu-announcement-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--tt-ink);
    margin: 0;
    line-height: 1.45;
}
.ebyu-announcement-card:hover .ebyu-announcement-title {
    color: var(--tt-ink-soft);
}

/* Event Cards with Calendar Badge */
.ebyu-event-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(44, 2, 69, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    text-decoration: none !important;
    transition: all 0.22s ease;
}
.ebyu-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(44, 2, 69, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}
.ebyu-calendar-badge {
    width: 60px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(44, 2, 69, 0.08);
    border: 1px solid rgba(44, 2, 69, 0.1);
}
.ebyu-cal-month {
    background: var(--tt-ink);
    color: #f59e0b;
    font-size: 0.70rem;
    font-weight: 800;
    padding: 3px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ebyu-cal-day {
    background: #f8fafc;
    color: var(--tt-ink);
    font-size: 1.35rem;
    font-weight: 900;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ebyu-event-body {
    flex-grow: 1;
}
.ebyu-event-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tt-ink);
    margin: 0 0 6px;
    line-height: 1.4;
}
.ebyu-event-meta {
    font-size: 0.78rem;
    color: var(--tt-faint);
    display: flex;
    align-items: center;
    gap: 12px;
}
.ebyu-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* EBYÜ Haberler (News) Section */
.ebyu-news-section {
    padding: 60px 0;
    background: #f8fafc;
}
.ebyu-news-lead-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 2, 69, 0.06);
    border: 1px solid rgba(44, 2, 69, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ebyu-news-lead-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(44, 2, 69, 0.12);
}
.ebyu-news-lead-media {
    position: relative;
    height: 270px;
    overflow: hidden;
}
.ebyu-news-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ebyu-news-lead-card:hover .ebyu-news-lead-media img {
    transform: scale(1.05);
}
.ebyu-news-lead-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--tt-ink);
    color: #f59e0b;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
[dir="ltr"] .ebyu-news-lead-badge {
    right: auto;
    left: 14px;
}
.ebyu-news-lead-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ebyu-news-lead-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin-bottom: 12px;
    line-height: 1.45;
}
.ebyu-news-lead-summary {
    font-size: 0.92rem;
    color: var(--tt-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Side News Items */
.ebyu-news-side-item {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(44, 2, 69, 0.06);
    box-shadow: 0 4px 14px rgba(44, 2, 69, 0.04);
    text-decoration: none !important;
    transition: all 0.22s ease;
    align-items: center;
}
.ebyu-news-side-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(44, 2, 69, 0.08);
    border-color: rgba(245, 158, 11, 0.35);
}
[dir="ltr"] .ebyu-news-side-item:hover {
    transform: translateX(4px);
}
.ebyu-news-side-thumb {
    width: 100px;
    height: 74px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.ebyu-news-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebyu-news-side-body {
    flex-grow: 1;
}
.ebyu-news-side-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--tt-ink);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebyu-news-side-item:hover .ebyu-news-side-title {
    color: var(--tt-ink-soft);
}

/* EBYÜ TV / Systems Showcase Section */
.ebyu-showcase-section {
    padding: 64px 0;
    background: #ffffff;
}
.ebyu-showcase-box {
    background: linear-gradient(135deg, #240237 0%, #3e0b60 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(44, 2, 69, 0.20);
    position: relative;
    overflow: hidden;
}
.ebyu-showcase-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.ebyu-showcase-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}
.ebyu-showcase-title span {
    color: #f59e0b;
}
.ebyu-showcase-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 580px;
}
.ebyu-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbd38d;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.ebyu-showcase-preview-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: all 0.25s ease;
}
.ebyu-showcase-preview-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-4px);
}
.ebyu-showcase-thumb {
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}
.ebyu-showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* EBYÜ Pano (Services Board) Grid */
.ebyu-pano-section {
    padding: 60px 0;
    background: #f8fafc;
}
.ebyu-pano-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid rgba(44, 2, 69, 0.07);
    box-shadow: 0 4px 16px rgba(44, 2, 69, 0.04);
    text-decoration: none !important;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    transition: all 0.22s ease;
}
.ebyu-pano-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(44, 2, 69, 0.09);
    border-color: rgba(74, 21, 112, 0.3);
}
.ebyu-pano-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44, 2, 69, 0.08), rgba(74, 21, 112, 0.14));
    color: var(--tt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.ebyu-pano-card:hover .ebyu-pano-icon {
    background: var(--tt-ink);
    color: #f59e0b;
}
.ebyu-pano-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin: 0 0 4px;
    line-height: 1.35;
}
.ebyu-pano-body p {
    font-size: 0.84rem;
    color: var(--tt-muted);
    margin: 0;
    line-height: 1.5;
}

/* Key Statistics Band (Sayılarla Taysir) */
.ebyu-stats-band {
    background: linear-gradient(135deg, #1c022e 0%, #30034a 100%);
    padding: 50px 0;
    color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ebyu-stat-box {
    text-align: center;
    padding: 14px;
}
.ebyu-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: 'Tajawal', sans-serif;
}
.ebyu-stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}
.ebyu-stat-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Hotline & Direct Support Banner (Alo Taysir) */
.ebyu-hotline-banner {
    background: #ffffff;
    border: 2px solid rgba(44, 2, 69, 0.1);
    border-radius: 18px;
    padding: 24px 32px;
    box-shadow: 0 12px 32px rgba(44, 2, 69, 0.07);
    margin: 40px 0;
}
.ebyu-hotline-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tt-ink);
    margin: 0 0 4px;
}
.ebyu-hotline-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--tt-ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ebyu-hotline-number i {
    color: #10b981;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .ebyu-ribbon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ebyu-quick-ribbon {
        margin-top: -24px;
    }
    .ebyu-showcase-box {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .ebyu-ribbon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ebyu-stat-number {
        font-size: 2.2rem;
    }
    .ebyu-hotline-banner {
        padding: 20px;
        text-align: center;
    }
}

/* Equal Height Showcase Product Cards */
.ebyu-showcase-equal-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.28s ease;
}
.ebyu-showcase-equal-card:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.ebyu-showcase-equal-thumb {
    height: 180px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(0,0,0,0.2);
}
.ebyu-showcase-equal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.ebyu-showcase-equal-card:hover .ebyu-showcase-equal-thumb img {
    transform: scale(1.04);
}

/* Circular Technical Products Showcase (قوالب صغيرة دائرية للمنتجات التقنية) */
.tt-circle-showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 16px 0 8px;
}
.tt-circle-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.tt-circle-showcase-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.7) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(127, 0, 28, 0.5) 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 166, 35, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tt-circle-showcase-frame:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 32px rgba(245, 166, 35, 0.4);
}
.tt-circle-showcase-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #0f071b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tt-circle-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.35s ease;
}
.tt-circle-showcase-frame:hover .tt-circle-showcase-img {
    transform: scale(1.06);
}

@media (max-width: 575.98px) {
    .tt-circle-showcase-container {
        gap: 24px;
    }
    .tt-circle-showcase-frame {
        width: 110px;
        height: 110px;
        padding: 3px;
    }
}

/* Unified Media & Events Hub */
.ebyu-media-unified-section {
    padding: 64px 0;
    background: #f8fafc;
}
.ebyu-unified-card {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(44, 2, 69, 0.07);
    box-shadow: 0 4px 14px rgba(44, 2, 69, 0.04);
    text-decoration: none !important;
    transition: all 0.22s ease;
    align-items: center;
}
.ebyu-unified-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 10px 24px rgba(44, 2, 69, 0.08);
}
.ebyu-unified-thumb {
    width: 90px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}
.ebyu-unified-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebyu-unified-body {
    flex-grow: 1;
    min-width: 0;
}
.ebyu-unified-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--tt-ink);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebyu-unified-card:hover .ebyu-unified-title {
    color: var(--tt-ink-soft);
}
.ebyu-unified-meta {
    font-size: 0.76rem;
    color: var(--tt-faint);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================================= */
/* Cursor Codebase & Agents Suite (cursor.com/codebase & cursor.com/agents) */
/* ========================================================================= */
.cursor-engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.cursor-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: cursorPulse 2s infinite;
}
@keyframes cursorPulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #10b981; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #10b981; }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #10b981; }
}

/* Codebase Search Box (@Codebase) */
.cursor-codebase-search-wrap {
    padding: 0.5rem;
    background: rgba(13, 14, 18, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.cursor-codebase-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    color: #f1f5f9;
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}
.cursor-codebase-input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.25);
}
.cursor-search-results-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cursor-search-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: right;
}
.cursor-search-item:hover {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateX(-3px);
}
.cursor-symbol-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 6px;
}
.cursor-symbol-function { background: rgba(96, 165, 250, 0.2); color: #93c5fd; }
.cursor-symbol-class { background: rgba(245, 158, 11, 0.2); color: #fbd38d; }
.cursor-symbol-route { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.cursor-symbol-code { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }

/* Cursor Agent Trajectory Cards (cursor.com/agents) */
.cursor-agent-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.6rem;
    transition: all 0.2s ease;
}
.cursor-agent-card.running {
    border-color: #60a5fa;
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.2);
}
.cursor-agent-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 700;
    color: #f1f5f9;
}
.cursor-step-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}
.cursor-step-pill.search { border-color: rgba(96, 165, 250, 0.4); color: #93c5fd; }
.cursor-step-pill.read { border-color: rgba(167, 139, 250, 0.4); color: #c4b5fd; }
.cursor-step-pill.edit { border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.cursor-step-pill.terminal { border-color: rgba(245, 158, 11, 0.4); color: #fcd34d; }
.cursor-step-pill.done { border-color: rgba(52, 211, 153, 0.6); color: #34d399; }

/* Embedded Terminal Console */
.cursor-terminal-drawer {
    background: #090a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
}
.cursor-terminal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cursor-terminal-output {
    padding: 0.6rem 0.8rem;
    max-height: 160px;
    overflow-y: auto;
    color: #94a3b8;
    white-space: pre-wrap;
    line-height: 1.5;
    background: #06070a;
}
.cursor-terminal-input-row {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 8px;
}
.cursor-terminal-prompt-text {
    color: #34d399;
    font-weight: 700;
    user-select: none;
}
.cursor-terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 0.8rem;
}

/* Diff Accept / Reject Banner */
.cursor-diff-banner {
    padding: 0.55rem 0.85rem;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 8px;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.cursor-btn-accept {
    background: #10b981;
    color: #062419;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cursor-btn-accept:hover {
    background: #34d399;
    transform: translateY(-1px);
}
.cursor-btn-reject {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-weight: 700;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cursor-btn-reject:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* ========================================================================= */
/* Newsroom & Media Center Enhancements */
/* ========================================================================= */
.tt-news-filter-wrapper {
    margin-bottom: 2.2rem;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.tt-news-filter-bar {
    display: inline-flex;
    gap: 8px;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 50px;
    border: 1px solid rgba(44, 2, 69, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}
.tt-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tt-ink);
    text-decoration: none !important;
    transition: all 0.22s ease;
    border: 1px solid transparent;
}
.tt-filter-pill:hover {
    background: rgba(44, 2, 69, 0.05);
    color: var(--tt-ink);
    transform: translateY(-1px);
}
.tt-filter-pill.active {
    background: #2c0245 !important;
    color: #ffffff !important;
    border-color: #2c0245;
    box-shadow: 0 4px 14px rgba(44, 2, 69, 0.25);
}
.tt-filter-pill.active i {
    color: #f59e0b;
}
.tt-filter-pill .tt-count-badge {
    background: rgba(44, 2, 69, 0.08);
    color: var(--tt-ink);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
}
.tt-filter-pill.active .tt-count-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fbd38d;
}

/* ========================================================================= */
/* Institutional About Us Overhaul */
/* ========================================================================= */
.tt-about-stat-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(44, 2, 69, 0.08);
    box-shadow: 0 10px 30px rgba(44, 2, 69, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tt-about-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(44, 2, 69, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}
.tt-about-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #2c0245;
    margin-bottom: 6px;
    font-family: var(--font-heading, sans-serif);
}
.tt-about-stat-number span {
    color: #f59e0b;
}
.tt-about-stat-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2c0245;
    margin-bottom: 6px;
}
.tt-about-stat-desc {
    font-size: 0.85rem;
    color: var(--tt-muted);
    line-height: 1.5;
    margin: 0;
}
.tt-about-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(44, 2, 69, 0.05);
    color: #2c0245;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}
.tt-about-stat-box:hover .tt-about-stat-icon {
    background: #2c0245;
    color: #f59e0b;
}

/* 5 Strategic Pillars */
.tt-pillar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 26px;
    border: 1px solid rgba(44, 2, 69, 0.08);
    box-shadow: 0 6px 20px rgba(44, 2, 69, 0.04);
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.tt-pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 14px 35px rgba(44, 2, 69, 0.09);
}
.tt-pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(44, 2, 69, 0.08) 0%, rgba(44, 2, 69, 0.16) 100%);
    color: #2c0245;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}
.tt-pillar-card:hover .tt-pillar-icon {
    background: #2c0245;
    color: #f59e0b;
}
.tt-pillar-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    display: inline-block;
    margin-bottom: 10px;
    width: fit-content;
}
.tt-pillar-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #2c0245;
    margin-bottom: 12px;
    line-height: 1.4;
}
.tt-pillar-desc {
    font-size: 0.9rem;
    color: var(--tt-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Engineering Methodology Road */
.tt-method-step {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(44, 2, 69, 0.07);
    box-shadow: 0 4px 16px rgba(44, 2, 69, 0.03);
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}
.tt-method-step:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 25px rgba(44, 2, 69, 0.08);
}
.tt-method-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(44, 2, 69, 0.15);
    line-height: 1;
    margin-bottom: 12px;
    font-family: var(--font-heading, sans-serif);
    transition: color 0.25s ease;
}
.tt-method-step:hover .tt-method-num {
    color: #f59e0b;
}

/* ========================================================================= */
/* Upgraded Agentic IDE: Collapsible Tree, Fedora Terminal & Pro Editor     */
/* ========================================================================= */

/* 1. Collapsible Tree Nodes */
.tree-node {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    color: #cbd5e1;
    transition: all 0.15s ease;
    user-select: none;
    direction: ltr;
    text-align: left;
}
.tree-node:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}
.tree-node.active {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    font-weight: 700;
}
.tree-chevron {
    font-size: 0.65rem;
    color: #64748b;
    width: 12px;
    text-align: center;
    transition: transform 0.2s ease;
    display: inline-block;
}
.tree-node.expanded .tree-chevron {
    transform: rotate(90deg);
    color: #94a3b8;
}
.tree-node.collapsed .tree-chevron {
    transform: rotate(0deg);
}
.tree-children {
    transition: all 0.2s ease;
}
.tree-children.collapsed {
    display: none;
}
.tree-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
    font-size: 0.72rem;
}

/* 2. Realistic Fedora Linux Terminal */
.fedora-terminal-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.fedora-titlebar {
    background: #161b22;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
}
.fedora-traffic-lights {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fedora-traffic-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.fedora-traffic-close { background: #ef4444; }
.fedora-traffic-min { background: #f59e0b; }
.fedora-traffic-max { background: #10b981; }
.fedora-title-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}
.fedora-title-badge .fedora-icon {
    color: #51a2da;
}
.fedora-terminal-screen {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #080c12;
    position: relative;
    overflow: hidden;
}
.fedora-terminal-output {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #cbd5e1;
    white-space: pre-wrap;
    word-break: break-all;
    direction: ltr;
    text-align: left;
}
.fedora-terminal-output::-webkit-scrollbar {
    width: 7px;
}
.fedora-terminal-output::-webkit-scrollbar-track {
    background: #06090e;
}
.fedora-terminal-output::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}
.fedora-terminal-output::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}
.fedora-terminal-input-bar {
    flex-shrink: 0;
    background: #06080d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}
.fedora-prompt-symbol {
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    user-select: none;
}
.fedora-prompt-user { color: #51a2da; }
.fedora-prompt-host { color: #34d399; }
.fedora-prompt-path { color: #f59e0b; }
.fedora-terminal-cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.82rem;
    caret-color: #51a2da;
}

/* 3. Professional Code Editor with Gutter & Status Bar */
.pro-editor-container {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #06080e;
    position: relative;
}
.pro-editor-gutter {
    width: 48px;
    flex-shrink: 0;
    background: #04060a;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #475569;
    text-align: right;
    user-select: none;
    overflow: hidden;
    direction: ltr;
}
.pro-editor-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 12px 14px;
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #f1f5f9;
    outline: none;
    white-space: pre;
    direction: ltr;
    text-align: left;
    background: transparent;
}
.pro-editor-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.pro-editor-content::-webkit-scrollbar-track {
    background: #06080e;
}
.pro-editor-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 4px;
}
.pro-editor-status-bar {
    flex-shrink: 0;
    background: #07090e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 12px;
    font-size: 0.72rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    direction: ltr;
}
.unsaved-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #f59e0b;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

/* 4. In-App Live Browser Toolbar */
.browser-toolbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    direction: ltr;
}
.browser-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.76rem;
    transition: all 0.15s ease;
}
.browser-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.browser-url-input {
    flex: 1;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    color: #93c5fd;
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    direction: ltr;
}
.browser-url-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(0, 0, 0, 0.5);
}
.browser-port-pill {
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s ease;
}
.browser-port-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}
.browser-port-pill.active {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}
.browser-port-pill.offline {
    opacity: 0.6;
}

.tt-page-head {
    background: var(--tt-ink);
    color: #fff;
    padding: 2.25rem 0;
}
.tt-page-head h1,
.tt-page-head p { color: #fff; }
.tt-page-head p { opacity: 0.78; margin: 0; }
.tt-work-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}
.tt-work-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.tt-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.78rem;
    background: rgba(44, 2, 69, 0.08);
    color: var(--tt-ink);
}
.tt-pill-factory { background: var(--tt-ink); color: #fff; }
.tt-pill-on-dark { background: rgba(255,255,255,0.16); color: #fff; }
.tt-empty {
    background: #fff;
    border: 1px dashed var(--tt-line);
    border-radius: 16px;
    padding: 2rem 1.25rem;
    text-align: center;
}
.tt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.tt-steps li { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tt-pass-row { display: flex; gap: 0.5rem; }
.tt-pass-row .form-control { flex: 1; }
@media (max-width: 720px) {
    .tt-work-card { flex-direction: column; align-items: stretch; }
    .tt-work-actions { justify-content: flex-start; }
}

