/* ============================================
   JOBQUIR — Futuristic AI Job Hiring Platform
   Core Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    /* Primary Palette */
    --primary: #6C5CE7;
    --primary-light: #A78BFA;
    --secondary: #00CEFF;
    --accent: #FF6B6B;
    --accent-light: #FF8A8A;
    --success: #00D68F;
    --warning: #FFB800;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6C5CE7, #00CEFF);
    --grad-hero: linear-gradient(135deg, #0F0F1A 0%, #1a1a3e 40%, #2d1b69 70%, #0e2a47 100%);
    --grad-card: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 255, 0.1));
    --grad-accent: linear-gradient(135deg, #FF6B6B, #FFB800);
    --grad-btn: linear-gradient(135deg, #6C5CE7, #00CEFF);
    --grad-btn-hover: linear-gradient(135deg, #7D6FF0, #33D6FF);
    --grad-neon: linear-gradient(135deg, #A78BFA, #06B6D4);

    /* Surfaces — Light Mode */
    --bg: #F8F9FE;
    --bg-alt: #EEF0F8;
    --surface: rgba(255, 255, 255, 0.75);
    --surface-solid: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-border: rgba(108, 92, 231, 0.15);
    --text: #1a1a2e;
    --text-secondary: #555580;
    --text-muted: #8888aa;
    --border: rgba(108, 92, 231, 0.12);
    --shadow: 0 8px 32px rgba(108, 92, 231, 0.10);
    --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --footer-bg: #0F0F1A;
    --footer-text: #ccc;
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: rgba(108, 92, 231, 0.2);
    --badge-bg: rgba(108, 92, 231, 0.1);
    --badge-text: #6C5CE7;
    --hero-bg: var(--grad-hero);
    --hero-text: #fff;
    --section-alt: #f0f1fa;
}

[data-theme="dark"] {
    --bg: #0A0A14;
    --bg-alt: #0F0F1A;
    --surface: rgba(20, 20, 40, 0.6);
    --surface-solid: #14142A;
    --card-bg: rgba(20, 20, 40, 0.55);
    --card-border: rgba(167, 139, 250, 0.15);
    --text: #E8E8F0;
    --text-secondary: #A0A0C0;
    --text-muted: #6A6A8A;
    --border: rgba(167, 139, 250, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(10, 10, 20, 0.85);
    --input-bg: rgba(20, 20, 40, 0.8);
    --input-border: rgba(167, 139, 250, 0.2);
    --badge-bg: rgba(167, 139, 250, 0.15);
    --badge-text: #A78BFA;
    --section-alt: #0d0d1a;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ---------- Utility Classes ---------- */
.section-padding {
    padding: clamp(3rem, 8vw, 7rem) 0;
}

.section-alt {
    background: var(--section-alt);
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header .badge-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-header p {
    max-width: 650px;
    margin: 0.8rem auto 0;
}

/* ---------- Buttons ---------- */
.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2.2rem;
    line-height: 1;
    background: var(--grad-btn);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    text-decoration: none;
}

.btn-primary-gradient:hover {
    background: var(--grad-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.45);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2.2rem;
    line-height: 1;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.4rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ---------- Navbar ---------- */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    box-shadow: var(--shadow);
}

.navbar-custom .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(90deg, #6C5CE7, #00CEFF, #FF6B6B, #FFB800, #00D68F, #A78BFA, #6C5CE7);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandGradientFlow 12s linear infinite;
}

@keyframes brandGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.navbar-custom .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
    background: var(--badge-bg);
}

.navbar-custom .navbar-toggler {
    border: none;
    padding: 0.4rem;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-custom .navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    position: relative;
}

.navbar-custom .navbar-toggler-icon::before {
    content: '☰';
    font-size: 1.5rem;
    color: var(--text);
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-bg);
    overflow: hidden;
    padding-top: 80px;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--hero-text);
    margin-bottom: 1.2rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero .hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
}

.hero-glow.glow-1 {
    background: #6C5CE7;
    top: -100px;
    right: -100px;
}

.hero-glow.glow-2 {
    background: #00CEFF;
    bottom: -100px;
    left: -100px;
}

.hero-glow.glow-3 {
    background: #FF6B6B;
    top: 50%;
    left: 60%;
    width: 300px;
    height: 300px;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    background: var(--hero-bg);
    padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0.8rem auto 0;
}

.page-hero .breadcrumb {
    justify-content: center;
    margin-top: 1.2rem;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb-item.active {
    color: var(--secondary);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Glass Cards ---------- */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 92, 231, 0.3);
}

.glass-card-static {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

/* Icon Box */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: #fff;
}

.icon-box-sm {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.icon-box-outline {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* ---------- Job Cards ---------- */
.job-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 92, 231, 0.3);
}

.job-card .job-company-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--grad-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.job-card .job-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.8rem 0 0.4rem;
}

.job-card .job-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.job-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.job-card .job-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.8rem;
    font-weight: 500;
}

.job-card .job-salary {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Company Cards ---------- */
.company-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--grad-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--grad-hero);
    border-color: rgba(108, 92, 231, 0.4);
}

.pricing-card.featured * {
    color: #fff;
}

.pricing-card.featured .badge-label {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pricing-card .price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.pricing-card .features-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-card.featured .features-list li {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.testimonial-card .author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-card .author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-img {
    height: 200px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-card .blog-category {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.blog-card .blog-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.blog-card .blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card .blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Form Styles ---------- */
.form-control-custom {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

.form-label-custom {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.search-box {
    display: flex;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--grad-btn);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    user-select: none;
}

.faq-question .faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ---------- Step Cards ---------- */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

/* ---------- Stats Counter ---------- */
.stats-bar {
    background: var(--grad-hero);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
}

.stat-item .stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.3rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--footer-bg);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
    color: var(--footer-text);
}

.footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer p {
    color: #999;
    font-size: 0.9rem;
}

.footer a {
    color: #999;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* margin-bottom: 1rem; */
    display: inline-block;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(0, 206, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Neon Glow ---------- */
.neon-border {
    position: relative;
}

.neon-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--grad-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.neon-border:hover::after {
    opacity: 0.6;
}

/* ---------- Filter Tags ---------- */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.filter-tag {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--grad-btn);
    color: #fff;
    border-color: transparent;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-btn);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ---------- Tag Badges ---------- */
.badge-pill {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-primary {
    background: var(--badge-bg);
    color: var(--badge-text);
}

.badge-success {
    background: rgba(0, 214, 143, 0.1);
    color: #00D68F;
}

.badge-warning {
    background: rgba(255, 184, 0, 0.1);
    color: #FFB800;
}

.badge-accent {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

/* ---------- Legal Pages ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.legal-content h3 {
    margin: 1.5rem 0 0.8rem;
    font-size: 1.15rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 0.4rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--grad-hero);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter h3 {
    color: #fff;
    margin-bottom: 0.8rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.6rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.85rem 1.8rem;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

/* ---------- Pagination ---------- */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
}

.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: var(--grad-btn);
    color: #fff;
    border-color: transparent;
}

/* ---------- Toggle Switch (pricing) ---------- */
.toggle-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-switch {
    width: 56px;
    height: 28px;
    background: var(--border);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: var(--grad-btn);
}

.toggle-switch::after {
    content: '';
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}

.toggle-switch.active::after {
    transform: translateX(28px);
}

.toggle-label {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ---------- Contact Info ---------- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-card .icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* =============================================
   ENHANCEMENTS — PHASE 2
   ============================================= */

/* ---------- Typing Cursor ---------- */
.typed-text {
    border-right: 3px solid var(--primary);
    padding-right: 4px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    50% {
        border-color: transparent;
    }
}

/* ---------- Reading Progress Bar ---------- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--grad-primary);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ---------- Animated Gradient Border ---------- */
@keyframes gradient-rotate {
    0% {
        --angle: 0deg;
    }

    100% {
        --angle: 360deg;
    }
}

.gradient-border-card {
    position: relative;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle, 0deg), #6C5CE7, #00CEFF, #FF6B6B, #FFB800, #00D68F, #6C5CE7);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-rotate 3s linear infinite;
}

.gradient-border-card:hover::before {
    opacity: 1;
}

/* ---------- Skeleton Shimmer ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--border) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

.skeleton-text {
    height: 16px;
    width: 80%;
    margin-bottom: 0.8rem;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-img {
    height: 200px;
    width: 100%;
    margin-bottom: 1rem;
}

.skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-container.loaded .skeleton {
    display: none;
}

.skeleton-container .skeleton-real {
    display: none;
}

.skeleton-container.loaded .skeleton-real {
    display: block;
}

/* ---------- Promo Modal ---------- */
.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1rem;
}

.promo-overlay.visible {
    opacity: 1;
}

.promo-modal {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--surface-solid);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem 1.8rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 92, 231, 0.15);
    text-align: center;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.promo-overlay.visible .promo-modal {
    transform: scale(1) translateY(0);
}

.promo-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 2;
}

.promo-close:hover {
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent);
}

.promo-badge {
    display: inline-block;
    background: var(--grad-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.promo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.promo-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.promo-offers {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.promo-offer-card {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.promo-offer-card.accent {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.promo-offer-card.success {
    background: rgba(0, 214, 143, 0.1);
    border-color: rgba(0, 214, 143, 0.2);
}

.promo-discount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    min-width: 70px;
}

.promo-offer-card.accent .promo-discount {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
}

.promo-offer-card.success .promo-discount {
    background: linear-gradient(135deg, #00D68F, #00CEFF);
    -webkit-background-clip: text;
    background-clip: text;
}

.promo-offer-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.promo-code {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.promo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.promo-actions .btn-primary-gradient {
    width: 100%;
}

.promo-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.promo-skip:hover {
    color: var(--text);
}

.promo-footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

.promo-footer small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.promo-footer a {
    color: var(--primary);
}

/* ---------- Download Float Card ---------- */
.download-float-card {
    position: fixed;
    bottom: 6rem;
    left: 1.5rem;
    z-index: 9999;
    background: var(--surface-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 300px;
}

.download-float-card.visible {
    transform: translateX(0);
}

.download-float-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.download-float-close:hover {
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent);
}

.download-float-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.download-float-text {
    flex: 1;
    min-width: 0;
}

.download-float-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.download-float-text p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.download-float-btns {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
}

.dl-store-mini {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.dl-store-mini:hover {
    opacity: 0.85;
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- AI Chatbot Widget ---------- */
.chatbot-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-btn);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.5);
}

.chatbot-trigger.hidden {
    display: none;
}

.chatbot-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.chatbot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--grad-btn);
    animation: chatbot-pulse 2s infinite;
    z-index: 0;
}

@keyframes chatbot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--surface-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: var(--grad-hero);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chatbot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chatbot-header small {
    color: rgba(255, 255, 255, 0.7);
}

.chatbot-status {
    color: #00D68F !important;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 340px;
    min-height: 250px;
}

.chat-msg {
    display: flex;
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-bubble {
    /* max-width: 85%; */
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
    background: var(--badge-bg);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
    background: var(--grad-btn);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-bubble a {
    color: var(--secondary);
    text-decoration: underline;
}

.chat-msg.user .chat-bubble a {
    color: #FFB800;
}

/* Typing indicator */
.chat-bubble.typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0.8rem 1.2rem;
}

.chat-bubble.typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-dot 1.2s infinite;
}

.chat-bubble.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-bubble.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chat-suggestion {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-suggestion:hover {
    background: var(--grad-btn);
    color: #fff;
    border-color: transparent;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 0.6rem;
    gap: 0.4rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-btn);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* ---------- Search Autocomplete ---------- */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-solid);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.autocomplete-dropdown.visible {
    max-height: 320px;
    opacity: 1;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--badge-bg);
    color: var(--text);
}

.autocomplete-item strong {
    color: var(--primary);
}

/* ---------- Download App Section ---------- */
.app-download-section {
    position: relative;
    overflow: hidden;
}

.app-mockup {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.phone-frame {
    width: 260px;
    height: 520px;
    border-radius: 40px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.phone-frame .phone-screen {
    position: absolute;
    inset: 12px;
    border-radius: 28px;
    background: var(--surface-solid);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.8rem;
    border-radius: 14px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    border-color: var(--primary);
}

.store-btn .store-icon {
    font-size: 1.8rem;
}

.store-btn small {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}


.store-btn strong {
    font-size: 1rem;
}


.bg-gradient-dark {
    background: var(--surface-card);
    border-top: 1px solid var(--border);
}

/* ---------- Download CTA Card ---------- */
.download-cta-card {
    background: var(--surface-solid);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}


.cta-phone-mockup {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge Utilities */
.badge-pill {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 214, 143, 0.1);
    color: #00D68F;
    border: 1px solid rgba(0, 214, 143, 0.2);
}

.badge-primary {
    background: rgba(108, 92, 231, 0.1);
    color: #6C5CE7;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.phone-frame-small {
    width: 160px;
    height: 320px;

    background: #000;

    border: 8px solid #333;
    border-radius: 24px;
    position: absolute;
    top: 20px;
    transform: rotate(-10deg) translateY(20px);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Card Utilities */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.bg-primary-soft {
    background: rgba(108, 92, 231, 0.1);
    color: #6C5CE7;
}

.bg-success-soft {
    background: rgba(0, 214, 143, 0.1);
    color: #00D68F;
}

.bg-purple-soft {
    background: rgba(167, 139, 250, 0.1);
    color: #A78BFA;
}


.phone-frame-small .screen {
    width: 100%;
    height: 100%;
    background: var(--surface-bg);
    position: relative;
    overflow: hidden;
}

.phone-frame-small .notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: #333;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.phone-frame-small .app-header {
    height: 40px;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    padding-top: 10px;
}

.phone-frame-small .app-content {
    padding: 10px;
}

.phone-frame-small .app-card {
    background: var(--surface-card);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.6rem;
}

/* float animation for phone */
@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.phone-float {
    animation: phone-float 4s ease-in-out infinite;
}

/* ---------- Salary Calculator ---------- */
.calc-result {
    background: var(--grad-hero);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.calc-result .big-salary {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 1rem 0;
}

.calc-range {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.calc-range-item small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.calc-range-item strong {
    font-size: 1.3rem;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    margin: 0.6rem 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--grad-btn);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
}

/* ---------- Interview Prep ---------- */
.interview-chat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.interview-chat-header {
    background: var(--grad-hero);
    padding: 1.2rem 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.interview-chat-body {
    padding: 1.5rem;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.interview-chat-input {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 0.8rem;
    gap: 0.5rem;
}

.interview-chat-input input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.interview-chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.interview-chat-input button {
    padding: 0.8rem 1.5rem;
    background: var(--grad-btn);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--score) * 3.6deg), var(--border) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.score-ring::after {
    content: '';
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--surface-solid);
    position: absolute;
}

.score-ring .score-value {
    position: relative;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
}

/* ---------- Job Compare ---------- */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}

.compare-table th {
    background: var(--badge-bg);
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.compare-table tr:hover td {
    background: var(--badge-bg);
}

.compare-table .winner {
    color: var(--success);
    font-weight: 700;
}

.compare-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.compare-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ---------- Responsive Chatbot ---------- */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 1.5rem);
        right: -0.5rem;
        max-height: 80vh;
    }

    .chatbot-widget {
        bottom: 1rem;
        right: 1rem;
    }



    .promo-modal {
        padding: 1.5rem 1.2rem;
        max-width: 95vw;
    }

    /* ---------- App Store Buttons ---------- */
    .store-btn {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 0.8rem 1.5rem;
        border-radius: 12px;
        color: var(--text);
        transition: all 0.3s ease;
        min-width: 160px;
    }

    .store-btn:hover {
        background: var(--surface-solid);
        border-color: var(--primary);
        transform: translateY(-3px);
        color: var(--text);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .store-btn .store-icon {
        font-size: 2rem;
    }

    .store-btn div {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        text-align: left;
    }

    .store-btn small {
        font-size: 0.7rem;
        color: var(--text-muted);
    }

    .store-btn strong {
        font-size: 1rem;
    }


    .download-float-card {
        left: 0.75rem;
        bottom: 5rem;
        max-width: 260px;
        padding: 0.8rem;
    }
}

/* ---------- Career Path Quiz ---------- */
.quiz-option {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: var(--grad-btn);
    color: #fff;
    transform: scale(1.02);
}

/* ---------- Hero Stats (Career Page) ---------- */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* ---------- Eco-Friendly Gradient Border Card ---------- */
.gradient-border-card {
    position: relative;
    border: none !important;
    z-index: 1;
}

.gradient-border-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    padding: 2px;
    /* Border thickness */
    border-radius: 24px;
    /* Matches glass-card */
    /* background: linear-gradient(135deg, #00D68F, #50C878, #32CD32); */
    /* Eco-friendly Green Gradient */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gradient-border-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #50C878, #32CD32, #00D68F);
}

/* ---------- Salary Calculator ---------- */
.calc-field {
    margin-bottom: 1.2rem;
}

.calc-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.calc-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.calc-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.calc-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C5CE7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.calc-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.calc-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 6px;
    background: var(--border);
    outline: none;
    margin: 0.5rem 0;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--grad-primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.calc-range-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.calc-radio-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.calc-radio {
    flex: 1;
    min-width: 80px;
    cursor: pointer;
}

.calc-radio input {
    display: none;
}

.calc-radio span {
    display: block;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text-muted);
}

.calc-radio input:checked+span {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary);
    font-weight: 600;
}

.calc-radio:hover span {
    border-color: var(--primary-light);
}

/* Compensation Breakdown */
.comp-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.comp-label {
    min-width: 130px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.comp-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.comp-bar {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease;
}

/* Factor Analysis */
.factor-row {
    margin-bottom: 1rem;
}

/* Growth Chart */
.growth-chart {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 200px;
    padding-top: 1.5rem;
}

.growth-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.growth-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    white-space: nowrap;
}

.growth-bar-bg {
    flex: 1;
    width: 100%;
    max-width: 48px;
    display: flex;
    align-items: flex-end;
}

.growth-bar-fill {
    width: 100%;
    border-radius: 8px 8px 4px 4px;
    transition: height 1s ease;
}

.growth-label {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* AI Insights */
.insight-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.insight-item:last-child {
    border-bottom: none;
}

/* Market Role */
.market-role {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.market-role:last-child {
    border-bottom: none;
}

.market-role strong {
    color: var(--primary);
}

/* ============================================
   AI Interviewer Chat Styles
   ============================================ */
.interview-chat {
    background: rgba(18, 18, 24, 0.75);
    /* Darker, higher opacity for contrast */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    height: 550px;
    /* Slightly taller */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(16px);
    /* Stronger blur */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* Deep shadow for lift */
}

.interview-chat-header {
    padding: 1.2rem;
    background: rgba(30, 30, 40, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.interview-chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
    background: rgba(0, 0, 0, 0.2);
    /* Inner shadow effect */
}

.chat-msg {
    display: flex;
    max-width: 100%;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-bubble {
    padding: 1rem 1.4rem;
    border-radius: 18px;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-msg.bot .chat-bubble {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 4px;
    color: var(--text);
}

.chat-msg.user .chat-bubble {
    background: var(--grad-primary);
    border-top-right-radius: 4px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.interview-chat-input {
    padding: 1.2rem;
    background: rgba(30, 30, 40, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.interview-chat-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    padding: 1rem 1.4rem;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.interview-chat-input input:focus {
    border-color: var(--primary);
    /* background: rgba(0, 0, 0, 0.3); */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thinking-dots {
    display: inline-block;
    font-weight: bold;
    font-size: 0.7rem;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* ---------- Interview Chat Simulator ---------- */
.interview-chat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.interview-chat-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    background: var(--grad-hero);
}

.interview-chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    background: rgba(0, 0, 0, 0.02);
}

/* Chat Messages */
.chat-msg {
    display: flex;
    margin-bottom: 0.8rem;
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-out;
}

.chat-msg.reveal {
    opacity: 1;
    transform: translateY(0);
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
    max-width: 95%;
    /* Specific request */
}

.chat-bubble {
    padding: 1rem 1.4rem;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chat-msg.bot .chat-bubble {
    background: var(--surface-solid);
    /* Better contrast */
    color: var(--text);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border);
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, #6C5CE7, #00CEFF);
    /* Explicit gradient */
    color: #fff !important;
    /* Force white text */
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

/* Input Area */
.interview-chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.interview-chat-input input {
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
}

.interview-chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.interview-chat-input button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Controls Custom */
.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-control-custom {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Score Ring */
.score-ring {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--success) calc(var(--score) * 1%), rgba(108, 92, 231, 0.1) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.score-ring::before {
    content: '';
    position: absolute;
    width: 84px;
    height: 84px;
    background: var(--card-bg);
    border-radius: 50%;
}

.score-value {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}