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

:root {
    --ig-purple: #833ab4;
    --ig-pink: #dd2a7b;
    --ig-red: #fd1d1d;
    --ig-orange: #fcaf45;
    --brand-primary: #dd2a7b;
    --brand-gradient: linear-gradient(135deg, #833ab4 0%, #dd2a7b 45%, #fd1d1d 70%, #fcaf45 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(131,58,180,0.08), rgba(221,42,123,0.08), rgba(252,175,69,0.08));

    --navy: #14101a;
    --surface: #ffffff;
    --surface-alt: #fdf7fa;
    --border-soft: #f1e6ee;
    --text-muted: #6b7280;

    --shadow-soft: 0 4px 24px rgba(131,58,180,0.07);
    --shadow-lift: 0 22px 48px rgba(221,42,123,0.22);
    --shadow-glow: 0 0 0 1px rgba(221,42,123,0.08), 0 20px 40px rgba(131,58,180,0.15);
    --radius-lg: 22px;
    --radius-md: 14px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--surface-alt);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.02em; }

/* ===== Hero background logo watermarks ===== */
.hero-brand-watermarks {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.09;
    overflow: hidden;
}
.hero-brand-watermarks i {
    position: absolute;
    animation: floatIcon 6s ease-in-out infinite;
}
@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-16px) rotate(var(--rot, 0deg)); }
}

/* ===== Navbar (glassmorphism) ===== */
.navbar-main {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 1px 0 rgba(131,58,180,0.08);
    padding: 16px 0;
}
.navbar-main .navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-main .navbar-brand .brand-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 3px;
    background: var(--brand-gradient);
    margin-right: 6px;
    -webkit-text-fill-color: initial;
}
.navbar-main .nav-link {
    font-weight: 600;
    color: var(--navy) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.2s ease;
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--brand-gradient);
    transition: width 0.25s ease;
    border-radius: 2px;
}
.navbar-main .nav-link:hover { color: var(--ig-pink) !important; }
.navbar-main .nav-link:hover::after { width: 100%; }

/* ===== Buttons ===== */
.btn-brand {
    background: var(--brand-gradient);
    background-size: 160% 160%;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(221,42,123,0.28);
}
.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(221,42,123,0.38);
    background-position: 100% 50%;
}
.btn-brand-outline {
    border: 2px solid var(--ig-pink);
    color: var(--ig-pink);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.25s ease;
}
.btn-brand-outline:hover {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

/* ===== Cards ===== */
.card-main {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-main.hover-lift:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}
.card-dark {
    background: var(--navy);
    color: #e5e7eb;
    border-radius: var(--radius-lg);
}

.brand-gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-gradient);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(221,42,123,0.3);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ig-pink);
    margin-bottom: 10px;
}

/* ===== Forms ===== */
.form-control-main {
    border-radius: 12px;
    border: 1.5px solid #f1e6ee;
    padding: 13px 16px;
    transition: all 0.2s ease;
    background: #fffbfd;
}
.form-control-main:focus {
    border-color: var(--ig-pink);
    box-shadow: 0 0 0 4px rgba(221,42,123,0.1);
    background: #fff;
}

/* ===== Auth pages ===== */
.auth-wrapper {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
}
.auth-card {
    max-width: 440px;
    width: 100%;
    padding: 46px;
    position: relative;
    z-index: 2;
}
.auth-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    margin: 0 auto 18px;
    box-shadow: 0 12px 26px rgba(221,42,123,0.32);
}

/* ===== Footer ===== */
.footer-main {
    background: var(--navy);
    color: #a89ab0;
    padding: 60px 0 28px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}
.footer-main a { color: #d8c8e0; text-decoration: none; transition: color 0.2s ease; }
.footer-main a:hover { color: #fff; }
.footer-main h6 { color: #fff; font-weight: 700; margin-bottom: 18px; }

/* ===== Floating contact button ===== */
.floating-contact-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #24A1DE;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 26px rgba(36,161,222,0.5);
    z-index: 1050;
    transition: transform 0.25s ease;
}
.floating-contact-btn:hover { color: #fff; transform: scale(1.1) rotate(-6deg); }

/* ===== Stat cards ===== */
.stat-card {
    border-radius: var(--radius-md);
    padding: 22px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--ig-pink);
    transition: transform 0.25s ease;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; margin-top: 6px; color: var(--navy); }
.stat-card.stat-dark {
    background: var(--navy);
    border-left-color: var(--ig-orange);
}
.stat-card.stat-dark .stat-label { color: #b8a5c2; }
.stat-card.stat-dark .stat-value { color: #fff; }

/* ===== Platform pills ===== */
.platform-pill {
    border-radius: 50px;
    padding: 11px 22px;
    font-weight: 700;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    border: 2px solid var(--border-soft);
    background: #fff;
}
.platform-pill:disabled { opacity: 0.5; cursor: not-allowed; }
.platform-pill:not(:disabled):hover { transform: translateY(-2px); }
.platform-pill.active { color: #fff; border-color: transparent; }

.platform-showcase-card {
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border: 1.5px solid var(--border-soft);
    transition: all 0.3s ease;
}
.platform-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}
.platform-showcase-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 10px 24px rgba(131,58,180,0.25);
}

/* ===== Result lists (job-view) ===== */
.result-list-box {
    height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 14px;
}
.result-list-box div { padding: 4px 8px; border-radius: 6px; }
.result-list-box div:hover { background: rgba(221,42,123,0.07); }

.progress-brand { height: 16px; border-radius: 50px; background: #f5e9f0; overflow: hidden; }
.progress-brand .progress-bar { background: var(--brand-gradient); background-size: 200% 100%; animation: shimmerBar 2s linear infinite; }
@keyframes shimmerBar { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ===== Pricing ===== */
.pricing-hero-card {
    border-radius: 28px;
    padding: 52px 40px;
    text-align: center;
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-lift);
    position: relative;
    overflow: hidden;
}
.pricing-example-card {
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    background: #fff;
    border: 1.5px solid var(--border-soft);
    transition: all 0.25s ease;
}
.pricing-example-card:hover { border-color: var(--ig-pink); transform: translateY(-4px); }

/* ===== Profile page ===== */
.profile-tab-nav .nav-link {
    border-radius: 12px;
    color: var(--navy);
    font-weight: 600;
    padding: 12px 18px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}
.profile-tab-nav .nav-link.active {
    background: var(--brand-gradient);
    color: #fff;
}
.profile-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(221,42,123,0.3);
}

@media (max-width: 576px) {
    .auth-card { padding: 30px; }
}
