/* =============================================================
   DIGITAL 1 OR 0 TECHNOLOGIES — Global Stylesheet
   ============================================================= */

/* ===== RESET & BASE ===== */

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

body {
    margin: 0;
    font-family: 'DM Sans', Arial, Helvetica, sans-serif;
    background: #0b1020;
    color: #e2e8f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', Arial, sans-serif;
    line-height: 1.15;
    margin: 0 0 1rem;
}

p { margin: 0 0 1rem; line-height: 1.75; }

a { text-decoration: none; }

ul { padding: 0; margin: 0; list-style: none; }

img { max-width: 100%; }


/* ===== DESIGN TOKENS ===== */

:root {
    --accent:   #7c3aed;
    --accent2:  #6d28d9;
    --green:    #22c55e;
    --card-bg:  rgba(15, 23, 42, 0.65);
    --border:   rgba(56, 189, 248, 0.12);
    --border-h: rgba(56, 189, 248, 0.35);
    --dark:     #020617;
    --muted:    #64748b;
    --text-dim: #94a3b8;
}


/* ===== MATRIX BACKGROUND ===== */

#matrixCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}


/* ===== DARK CONTENT OVERLAY (improves text readability over matrix) ===== */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(11,16,32,0.35) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 100%, rgba(11,16,32,0.6) 0%, transparent 70%);
    pointer-events: none;
}


/* ===== TECH GRID BACKGROUND ===== */

.tech-grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background-image:
        linear-gradient(rgba(232,121,249,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,121,249,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    from { transform: translateY(0); }
    to   { transform: translateY(60px); }
}


/* ===== NAVBAR ===== */

.navbar {
    position: sticky;
    top: 12px;
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 1300px;
    margin: 12px auto 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;

    background: rgba(13, 6, 32, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(232,121,249,0.15);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.logo { display: flex; align-items: center; }

.site-logo { height: 55px; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    left: 0; bottom: -4px;
    background: var(--accent);
    transition: width 0.25s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.solution-btn {
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 700;
    transition: all 0.2s;
}

.solution-btn:hover {
    background: #7dd3fc !important;
    transform: translateY(-2px);
}

.solution-btn:hover::after { display: none; }

/* Mobile hamburger */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--accent);
    padding: 4px 8px;
}


/* ===== DROPDOWN / MEGA MENU ===== */

.dropdown { position: relative; }

.mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12), 0 4px 24px rgba(0,0,0,0.07);
    padding: 24px;
    z-index: 1000;
}

.dropdown:hover .mega-menu { display: block; }

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mega-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 10px;
    color: #374151;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.mega-card:hover {
    background: #f5f3ff;
    border-color: rgba(124, 58, 237, 0.18);
    transform: translateY(-2px);
}

.mega-card h4 { margin: 0; color: #1e1b4b; font-size: 15px; }
.mega-card p  { margin: 2px 0 0; font-size: 13px; color: #6b7280; }
.mega-icon    { font-size: 22px; }


/* ===== HERO (inner pages) ===== */

.hero {
    position: relative;
    padding: 130px 24px 90px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(232,121,249,.14), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(14,165,233,.12), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(99,102,241,.10), transparent 40%);
    animation: heroGradient 14s linear infinite;
    z-index: 0;
}

.hero h1,
.hero p,
.hero-desc,
.hero-buttons { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #c4b5fd, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
}

.hero p, .hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes heroGradient {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}


/* ===== SOLUTION HERO (detail pages) ===== */

.solution-hero {
    position: relative;
    padding: 120px 24px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.solution-hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle at 40% 40%, rgba(232,121,249,.12), transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(129,140,248,.10), transparent 40%);
    animation: heroGradient 14s linear infinite;
    z-index: 0;
}

.solution-hero h1,
.solution-hero p,
.solution-intro,
.solution-actions { position: relative; z-index: 1; }

.solution-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #c4b5fd, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.solution-intro {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.solution-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== SECTIONS ===== */

.solutions,
.solution-section,
.company-intro,
.why-section,
.architecture-section,
.industries-section {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Dark scrim behind every section so matrix never bleeds through text */
.solutions::before,
.solution-section::before,
.company-intro::before,
.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 16, 32, 0.55);
    border-radius: 24px;
    z-index: -1;
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #f0f9ff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}


/* ===== GRIDS ===== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}


/* ===== CARDS ===== */

.solution-card,
.why-card,
.industry-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.solution-card:hover,
.why-card:hover,
.industry-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-h);
    box-shadow: 0 20px 48px rgba(232,121,249,0.15), 0 0 0 1px rgba(232,121,249,0.08);
}

.solution-card h3,
.why-card h3,
.industry-card h3 {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.solution-card p,
.why-card p,
.industry-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.solution-card ul {
    margin-top: 1rem;
}

.solution-card ul li {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding-left: 4px;
}

/* Feature cards (solution detail pages) */

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(232,121,249,0.12);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.feature-card h4 {
    color: #f0f9ff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.65;
}


/* ===== BUTTONS ===== */

.primary-btn {
    display: inline-block;
    padding: 13px 30px;
    background: linear-gradient(120deg, #7c3aed, #0ea5e9);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.primary-btn:hover {
    background: linear-gradient(120deg, #6d28d9, #0284c7);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124,58,237,0.4);
}

.secondary-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.secondary-btn:hover {
    background: rgba(232,121,249,0.1);
    transform: translateY(-2px);
}


/* ===== FORMS ===== */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    display: block;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,121,249,0.12);
}

input::placeholder,
textarea::placeholder {
    color: #475569;
}

textarea { resize: vertical; min-height: 130px; }


/* ===== ARCHITECTURE FLOW ===== */

.architecture-section { text-align: center; }

.architecture-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 2.5rem;
}

.arch-box {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    padding: 14px 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.arch-box:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
}

.arch-arrow {
    font-size: 22px;
    color: #475569;
}


/* ===== COMPANY INTRO ===== */

.company-intro { text-align: center; }

.company-container {
    max-width: 800px;
    margin: 0 auto;
}

.company-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #f0f9ff;
    margin-bottom: 1.25rem;
}

.company-intro p { color: var(--text-dim); line-height: 1.8; }

.company-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    color: var(--accent);
    font-weight: 600;
}


/* ===== WHY SECTION ===== */

.why-section { text-align: center; }

.why-container { max-width: 1100px; margin: 0 auto; }

.why-subtitle {
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}


/* ===== SOLUTION DETAIL — ALT SECTION ===== */

.solution-section.alt-bg {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin: 0 24px;
}

.solution-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.solution-list li {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.solution-list li:hover {
    border-color: var(--border-h);
    color: var(--accent);
}


/* ===== SOLUTION CTA ===== */

.solution-cta,
.solutions-cta {
    padding: 90px 24px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(15,23,42,0.9), rgba(2,6,23,0.95));
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.solution-cta h2,
.solutions-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #f0f9ff;
    margin-bottom: 1rem;
}

.solution-cta p,
.solutions-cta p {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== FADE-UP ANIMATION ===== */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== STEP NUMBER ===== */

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--accent);
    color: #021725;
    font-weight: 700;
    margin-right: 8px;
    box-shadow: 0 0 12px rgba(232,121,249,0.6);
}


/* ===== AI CHATBOT ===== */

.ai-chatbot {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

.chat-btn {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;
    border: none;
    padding: 13px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(232,121,249,0.4);
    transition: all 0.2s;
    font-family: inherit;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(232,121,249,0.5);
}

.chat-box {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 340px;
    background: #071a2c;
    border-radius: 18px;
    border: 1px solid rgba(232,121,249,0.2);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    z-index: 9999;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(90deg, #0f2744, #0a1e36);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
    border-bottom: 1px solid rgba(232,121,249,0.1);
}

.chat-header span {
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
    transition: color 0.2s;
}

.chat-header span:hover { color: white; }

.chat-messages {
    padding: 16px;
    min-height: 200px;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-suggestion {
    color: #475569;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.suggestion {
    background: rgba(232,121,249,0.07);
    border: 1px solid rgba(232,121,249,0.18);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: inherit;
}

.suggestion:hover {
    background: rgba(232,121,249,0.15);
    transform: translateY(-1px);
}

.chat-message {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.5;
}

.user-msg {
    background: rgba(232,121,249,0.12);
    border: 1px solid rgba(232,121,249,0.2);
    color: #e2e8f0;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bot-msg {
    background: rgba(15,23,42,0.8);
    border: 1px solid var(--border);
    color: var(--text-dim);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(7,26,44,0.8);
}

.chat-input input {
    flex: 1;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,23,42,0.9);
    color: white;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    margin: 0;
}

.chat-input input:focus {
    border-color: var(--accent);
}

.chat-input button {
    padding: 9px 16px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #021725;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: inherit;
    transition: background 0.2s;
}

.chat-input button:hover { background: #7dd3fc; }


/* ===== FOOTER ===== */

.site-footer {
    background: linear-gradient(160deg, #f5f3ff 0%, #faf5ff 50%, #f0f9ff 100%);
    padding: 64px 24px 0;
    border-top: 1.5px solid rgba(124,58,237,0.15);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}

.site-footer::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
    top: -100px; right: -100px; pointer-events: none;
}

/* Top row: brand + nav */
.footer-top-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding-bottom: 3rem;
}

/* Brand block */
.footer-brand-block {
    flex: 0 0 280px;
}

.footer-wordmark {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.fw-one  { color: #7c3aed; }
.fw-sep  { color: #c4b5fd; margin: 0 2px; }
.fw-zero { color: #6d28d9; }

.footer-company-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social-btn {
    width: 34px; height: 34px;
    border: 1.5px solid #ede9fe;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    background: #f5f3ff;
}
.footer-social-btn:hover {
    border-color: #7c3aed;
    color: #fff;
    background: #7c3aed;
}

/* Nav group */
.footer-nav-group {
    flex: 1;
    display: flex;
    gap: 3rem;
    justify-content: flex-end;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 120px;
}

.footer-nav-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e1b4b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid #ede9fe;
}

.footer-nav-col a {
    color: #6b7280;
    font-size: 0.88rem;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}
.footer-nav-col a:hover { color: #7c3aed; }

/* Divider */
.footer-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: rgba(124,58,237,0.15);
}

/* Bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 500;
}

.footer-built {
    color: #7c3aed;
    font-size: 0.82rem;
    font-weight: 600;
}


/* ===== INTERACTIVE DEMO ===== */

.interactive-demo {
    position: relative;
    padding: 90px 40px;
    text-align: center;
    background: rgba(2,6,23,0.65);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.demo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.demo-card {
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 48px rgba(232,121,249,0.2);
}

.demo-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.demo-card input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(2,23,37,0.9);
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    margin: 0;
}

.demo-card input:focus { border-color: var(--accent); }

.demo-card button {
    margin-top: 10px;
    padding: 10px 18px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: #021725;
    font-family: inherit;
    transition: background 0.2s;
}

.demo-card button:hover { background: #7dd3fc; }

#demo-result {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--accent);
}


/* ===== PRODUCT DEMO ===== */

.product-demo {
    padding: 90px 40px;
}

.demo-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-text ul {
    margin: 1.25rem 0;
    padding-left: 18px;
    color: var(--text-dim);
}

.demo-preview {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.demo-slider {
    display: flex;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.demo-slide {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.demo-slide.active { opacity: 1; }


/* ===== TECH ORBIT ===== */

.tech-orbit {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.orbit-wrapper {
    position: relative;
    width: 460px;
    height: 460px;
    margin: 70px auto;
}

.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 0 40px rgba(124,58,237,.8), 0 0 80px rgba(99,102,241,.5);
    animation: corePulse 3s infinite;
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); }
    50%       { transform: translate(-50%,-50%) scale(1.08); }
}

.orbit {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(232,121,249,.22);
    animation: orbitSpin linear infinite;
}

.orbit1 { width: 270px; height: 270px; animation-duration: 18s; }
.orbit2 { width: 420px; height: 420px; animation-duration: 28s; }

@keyframes orbitSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.tech {
    position: absolute;
    background: #020617;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent);
    border: 1px solid rgba(232,121,249,.28);
    box-shadow: 0 0 10px rgba(232,121,249,.2);
    transition: all 0.3s;
    white-space: nowrap;
}

.tech:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(232,121,249,.6);
    border-color: var(--accent);
}

.orbit1 .tech:nth-child(1) { top: -12px; left: 50%; transform: translateX(-50%); }
.orbit1 .tech:nth-child(2) { right: -24px; top: 50%; transform: translateY(-50%); }
.orbit1 .tech:nth-child(3) { bottom: -12px; left: 50%; transform: translateX(-50%); }
.orbit1 .tech:nth-child(4) { left: -24px; top: 50%; transform: translateY(-50%); }

.orbit2 .tech:nth-child(1) { top: -12px; left: 50%; transform: translateX(-50%); }
.orbit2 .tech:nth-child(2) { right: -28px; top: 50%; transform: translateY(-50%); }
.orbit2 .tech:nth-child(3) { bottom: -12px; left: 50%; transform: translateX(-50%); }
.orbit2 .tech:nth-child(4) { left: -28px; top: 50%; transform: translateY(-50%); }


/* ===== TRUSTED LOGOS ===== */

.trusted-section {
    padding: 70px 20px;
    text-align: center;
}

.trusted-title {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #94a3b8;
}

.logo-track {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.logo-track img {
    height: 46px;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.logo-track img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.06);
}


/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 1024px) {
    .footer-top-row { gap: 2rem; }
    .footer-nav-group { gap: 2rem; }
}

@media (max-width: 768px) {

    .navbar {
        width: calc(100% - 24px);
        padding: 12px 18px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
    }

    .nav-links.active { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links a::after { display: none; }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-radius: 10px;
    }

    .mega-grid { grid-template-columns: 1fr; }

    .dropdown.active .mega-menu { display: block; }
    .dropdown .mega-menu { display: none; }

    .hero { padding: 100px 20px 60px; }
    .solution-hero { padding: 90px 20px 60px; }

    .solutions,
    .solution-section { padding: 60px 20px; }

    .company-highlights { flex-direction: column; gap: 10px; }

    .demo-container { grid-template-columns: 1fr; gap: 2.5rem; }

    .footer-top-row { flex-direction: column; gap: 2rem; }
    .footer-brand-block { flex: none; }
    .footer-nav-group { justify-content: flex-start; flex-wrap: wrap; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .orbit-wrapper { width: 300px; height: 300px; }
    .orbit1 { width: 180px; height: 180px; }
    .orbit2 { width: 280px; height: 280px; }
    .orbit-core { width: 70px; height: 70px; font-size: 22px; }
}

@media (max-width: 480px) {
    .footer-nav-group { flex-direction: column; gap: 1.5rem; }
    .solution-actions { flex-direction: column; align-items: center; }
}


/* =============================================================
   SOLUTIONS MEGA-MENU — Modern 2025 Style
   ============================================================= */

/* Dropdown container — position relative so mega sits flush below the <li>
   with zero gap (mouse moves straight from trigger into mega, no hover break) */
.sol-dropdown {
    position: relative;
}

/* Trigger link */
.sol-trigger {
    display: inline-flex; align-items: center; gap: 5px;
    font-weight: 600; transition: color .2s;
    padding-bottom: 4px; /* extends hover area downward slightly */
}
.sol-chevron {
    transition: transform .25s ease;
    flex-shrink: 0;
}
.sol-dropdown:hover .sol-chevron { transform: rotate(180deg); }

/* Mega panel — starts flush at <li> bottom; JS clamps it to viewport */
.sol-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, calc(100vw - 32px));  /* safety cap */
    z-index: 9999;
    padding-top: 16px;   /* invisible hover bridge */
    animation: solFadeIn .2s ease both;
}
@keyframes solFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.sol-dropdown:hover .sol-mega { display: block; }

/* Extra hover safety — keep menu open when mouse is anywhere inside */
.sol-mega::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 16px; /* covers the padding-top gap */
}

.sol-mega-inner {
    background: #ffffff;
    border: 1.5px solid rgba(124,58,237,0.14);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(124,58,237,0.13), 0 4px 20px rgba(0,0,0,0.06);
    overflow-y: auto;
    max-height: calc(100vh - 90px);
}

/* Header */
.sol-mega-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 22px 12px;
    border-bottom: 1px solid rgba(124,58,237,0.08);
}
.sol-mega-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: #7c3aed;
}
.sol-view-all {
    font-size: 12px; font-weight: 600; color: #7c3aed;
    text-decoration: none; transition: gap .2s;
    display: inline-flex; align-items: center; gap: 4px;
}
.sol-view-all:hover { color: #6d28d9; gap: 8px; }

/* Grid */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 12px;
}

/* Each solution card */
.sol-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px;
    text-decoration: none; color: #1e1b4b;
    transition: background .18s, transform .18s;
    position: relative;
}
.sol-card:hover {
    background: #f5f3ff;
    transform: translateX(3px);
}
.sol-card-icon {
    width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.sol-card-body { flex: 1; min-width: 0; }
.sol-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 13.5px; font-weight: 700; color: #1e1b4b;
    margin-bottom: 2px; white-space: nowrap;
}
.sol-card-desc {
    font-size: 12px; color: #6b7280; line-height: 1.4;
}
.sol-card-arrow {
    font-size: 13px; color: #c4b5fd;
    opacity: 0; transition: opacity .18s, transform .18s;
    flex-shrink: 0;
}
.sol-card:hover .sol-card-arrow { opacity: 1; transform: translateX(3px); }

/* Footer */
.sol-mega-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 22px;
    background: linear-gradient(135deg, #f5f3ff, #faf5ff);
    border-top: 1px solid rgba(124,58,237,0.08);
    font-size: 12px; color: #6b7280;
    position: sticky; bottom: 0;  /* always visible even when scrolling */
}
.sol-demo-btn {
    background: #7c3aed; color: #fff !important;
    padding: 7px 16px; border-radius: 8px;
    font-size: 12px; font-weight: 700;
    text-decoration: none; font-family: 'Syne', sans-serif;
    transition: all .2s;
}
.sol-demo-btn:hover { background: #6d28d9; transform: translateY(-1px); }

/* Mobile */
@media (max-width: 768px) {
    .sol-mega {
        position: static;
        transform: none;
        width: 100%;
        animation: none;
        padding-top: 4px;
    }
    .sol-mega-inner {
        border-radius: 12px;
        box-shadow: none;
        border: 1px solid rgba(124,58,237,0.1);
    }
    .sol-grid { grid-template-columns: 1fr; }
    .sol-mega-footer { flex-direction: column; gap: 10px; text-align: center; }
    .sol-dropdown:hover .sol-mega,
    .sol-dropdown .sol-mega { display: none; }
    .sol-dropdown.active .sol-mega { display: block; }
}


/* =============================================================
   NAVBAR DROPDOWN MENU (standard, not mega-menu)
   ============================================================= */

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    min-width: 210px;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(124,58,237,0.12), 0 4px 16px rgba(0,0,0,0.07);
    border: 1.5px solid rgba(124,58,237,0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li { list-style: none; }

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #374151;
    font-size: 14px;
    transition: all 0.18s;
}

.dropdown-menu li a:hover {
    background: #f5f3ff;
    color: #7c3aed;
    padding-left: 20px;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        display: none !important;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(245, 243, 255, 0.8);
        border-radius: 8px;
        margin-top: 4px;
        padding: 4px 0;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }
}


/* =============================================================
   FORMS — SHARED STYLES
   ============================================================= */

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: #020617;
    color: #cbd5f5;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 12px rgba(124,58,237,.35);
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: #020617;
    color: #cbd5f5;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    opacity: .65;
    transition: opacity 0.2s;
}

.password-toggle:hover { opacity: 1; }


/* =============================================================
   MODAL
   ============================================================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #0f172a;
    padding: 30px;
    border-radius: 14px;
    width: 520px;
    max-width: 95%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.07);
}

.modal-content label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 0.88rem;
    color: #94a3b8;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    background: #020617;
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    border-color: #7c3aed;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background: #0f172a;
    padding-top: 12px;
}

.modal-content::-webkit-scrollbar { width: 5px; }
.modal-content::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 10px; }


/* =============================================================
   TALENTPRO THEME — Light mode for authenticated dashboard
   ============================================================= */

body.talentpro-theme {
    background: #f5f7fb !important;
    color: #1e293b !important;
}

/* Remove dark effects */
.talentpro-theme #matrixCanvas,
.talentpro-theme .tech-grid-bg {
    display: none !important;
}

/* Navbar */
.talentpro-theme .navbar {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}

/* Force light text */
.talentpro-theme .nav-links a {
    color: #374151 !important;
}

.talentpro-theme .nav-links a:hover {
    color: #2563eb !important;
}

/* Buttons */
.talentpro-theme .solution-btn,
.talentpro-theme .tp-btn {
    background: #2563eb !important;
    color: white !important;
}

.talentpro-theme .solution-btn:hover {
    background: #1d4ed8 !important;
}

/* Cards */
.talentpro-theme .solution-card,
.talentpro-theme .tp-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    color: #1e293b !important;
}

.talentpro-theme .solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* Inputs */
.talentpro-theme input,
.talentpro-theme textarea,
.talentpro-theme select {
    background: #f9fafb !important;
    color: #1e293b !important;
    border: 1px solid #d1d5db !important;
}

/* Modal */
.talentpro-theme .modal-content {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}

.talentpro-theme .modal-content label { color: #6b7280 !important; }

/* Links */
.talentpro-theme a { color: #2563eb !important; }

/* Footer — keep dark for authenticated dashboard */
.talentpro-theme .site-footer {
    background: #1e1b4b !important;
    border-top-color: rgba(124,58,237,0.2) !important;
}
.talentpro-theme .footer-company-name { color: #94a3b8 !important; }
.talentpro-theme .footer-tagline { color: #475569 !important; }
.talentpro-theme .fw-one  { color: #c4b5fd !important; }
.talentpro-theme .fw-sep  { color: #6d28d9 !important; }
.talentpro-theme .fw-zero { color: #a78bfa !important; }
.talentpro-theme .footer-nav-col h4 { color: #94a3b8 !important; border-bottom-color: rgba(124,58,237,0.15) !important; }
.talentpro-theme .footer-nav-col a { color: #64748b !important; }
.talentpro-theme .footer-nav-col a:hover { color: #c4b5fd !important; }
.talentpro-theme .footer-social-btn { border-color: rgba(124,58,237,0.2) !important; color: #a78bfa !important; background: rgba(124,58,237,0.08) !important; }
.talentpro-theme .footer-social-btn:hover { background: rgba(124,58,237,0.2) !important; color: #c4b5fd !important; }
.talentpro-theme .footer-divider { background: rgba(124,58,237,0.12) !important; }
.talentpro-theme .footer-copy, .talentpro-theme .footer-built { color: #475569 !important; }

/* Fix z-index */
.talentpro-theme .modal { z-index: 9999 !important; }

.talentpro-theme .solution-card,
.talentpro-theme .tp-card { position: relative; z-index: 1; }


/* =============================================================
   TALENTPRO PRO LAYOUT
   ============================================================= */

.tp-container {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.tp-sidebar {
    background: linear-gradient(180deg, #fff 0%, #fdf8ff 100%);
    border-radius: 18px;
    padding: 24px 20px;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(124,58,237,0.10);
    position: sticky;
    top: 20px;
    border: 1.5px solid rgba(168,85,247,0.15);
}

.tp-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tp-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(124,58,237,0.06);
    border: 1.5px solid rgba(168,85,247,0.1);
}

.tp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tp-profile-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #a855f7;
    margin-bottom: 10px;
    display: block;
    box-shadow: 0 0 0 4px rgba(168,85,247,0.15);
}

.tp-name { font-size: 16px; font-weight: 800; color: #1e1b4b; font-family: 'Syne', sans-serif; }
.tp-role { font-size: 12px; color: #7c3aed; margin-top: 3px; font-weight: 600; }

.tp-menu { margin-top: 18px; }

.tp-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #4b5563;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    margin-top: 4px;
    transition: all 0.18s;
    border: 1px solid transparent;
}

.tp-menu a:hover,
.tp-menu a.active {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(124,58,237,0.25);
}

.tp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #4c1d95 100%);
    padding: 22px 28px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.25);
    position: relative;
    overflow: hidden;
}

.tp-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.tp-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white !important;
    padding: 9px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(124,58,237,0.25);
}

.tp-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.tp-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white !important;
    padding: 9px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(124,58,237,0.2);
}

.tp-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.tp-btn-outline {
    border: 1.5px solid rgba(124,58,237,0.4);
    color: #7c3aed !important;
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
    transition: all 0.2s;
    background: rgba(124,58,237,0.04);
}

.tp-btn-outline:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white !important;
    border-color: transparent;
}

@media (max-width: 900px) {
    .tp-container { grid-template-columns: 1fr; }
    .tp-sidebar { position: static; }
}


/* =============================================================
   BRAND / LOGO BOX
   ============================================================= */

.logo-box {
    background: white;
    padding: 3px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #7c3aed, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.one  { color: #7c3aed; font-weight: 800; }
.zero { color: #22c55e; font-weight: 800; }

.brand-tech {
    font-size: 13px;
    color: #94a3b8;
    background: #0f172a;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid rgba(124,58,237,0.28);
}

.nav-right a.active {
    color: #2563eb !important;
    font-weight: 600;
}


/* =============================================================
   BRAND WORDMARK (text-only, no image logo)
   ============================================================= */

.brand-wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

/* The "1|0" block — monospace so digits don't look like ovals */
.brand-mark {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(109,40,217,0.08));
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 8px;
    padding: 6px 12px;
}

.brand-one  { color: #a78bfa; }
.brand-sep  { color: rgba(255,255,255,0.25); font-weight: 300; padding: 0 2px; }
.brand-zero { color: #7c3aed; }

/* Divider + company name */
.brand-text {
    font-family: 'Syne', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.brand-wordmark:hover .brand-mark  { border-color: rgba(124,58,237,0.4); }
.brand-wordmark:hover .brand-one   { color: #c4b5fd; }
.brand-wordmark:hover .brand-zero  { color: #a78bfa; }
.brand-wordmark:hover .brand-text  { color: #94a3b8; }

@media (max-width: 480px) {
    .brand-text { display: none; }
}


/* =============================================================
   TALENTPRO NAV BUTTONS
   ============================================================= */

.tp-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}

/* Small "TalentPro" prefix label */
.tp-btn-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.7;
    background: none !important;
    color: inherit !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.tp-login-btn {
    background: transparent;
    border: 1.5px solid rgba(124,58,237,0.4);
    color: #a78bfa !important;
}

.tp-login-btn:hover {
    background: rgba(124,58,237,0.1);
    border-color: #7c3aed;
    transform: translateY(-1px);
}

.tp-login-btn::after { display: none !important; }

.tp-register-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: 1.5px solid transparent;
    color: #fff !important;
}

.tp-register-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124,58,237,0.35);
}

.tp-register-btn::after { display: none !important; }
