/* ============================================
   PREMIUM CSS - VELMINDS TECHNOLOGIES
   Phase 3: Premium UX Enhancements
   ============================================ */

/* ---- Premium Fonts ---- */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, .section-title h2, .hero-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ---- Dark Mode Variables ---- */
:root {
    --dm-bg: #0F172A;
    --dm-bg-secondary: #1E293B;
    --dm-bg-card: #1E293B;
    --dm-text: #E2E8F0;
    --dm-text-secondary: #94A3B8;
    --dm-border: rgba(148, 163, 184, 0.15);
    --dm-accent: #38BDF8;
}

/* ---- Dark Mode Toggle ---- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-mode-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(0, 86, 179, 0.15);
    background: rgba(0, 86, 179, 0.05);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-mode-toggle:hover {
    background: rgba(0, 86, 179, 0.1);
    transform: rotate(20deg);
    border-color: var(--primary-color);
}

/* ============================================
   DARK MODE STYLES
   ============================================ */

[data-theme="dark"] body,
[data-theme="dark"] {
    background-color: var(--dm-bg);
    color: var(--dm-text);
}

[data-theme="dark"] header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: var(--dm-border);
}

[data-theme="dark"] .header-scrolled {
    background-color: rgba(15, 23, 42, 0.98) !important;
}

[data-theme="dark"] .logo {
    color: var(--dm-text);
}

[data-theme="dark"] .nav-links a {
    color: var(--dm-text);
}

[data-theme="dark"] .nav-links a:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--dm-accent);
}

[data-theme="dark"] .nav-links a.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--dm-accent);
}

[data-theme="dark"] .dark-mode-toggle {
    border-color: rgba(56, 189, 248, 0.3);
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.1);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background: rgba(251, 191, 36, 0.2);
}

[data-theme="dark"] .about,
[data-theme="dark"] .tech-stack,
[data-theme="dark"] .process-section,
[data-theme="dark"] .faq-section {
    background: var(--dm-bg) !important;
}

[data-theme="dark"] .technologies,
[data-theme="dark"] .careers,
[data-theme="dark"] .services,
[data-theme="dark"] .contact,
[data-theme="dark"] .blog-section {
    background: var(--dm-bg-secondary) !important;
}

[data-theme="dark"] .section-title h2 {
    color: var(--dm-text);
}

[data-theme="dark"] .section-title p,
[data-theme="dark"] .about-tagline,
[data-theme="dark"] .career-tagline {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .tech-card,
[data-theme="dark"] .highlight-card,
[data-theme="dark"] .service-card-front,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .job-card,
[data-theme="dark"] .tech-category,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .contact-detail-card,
[data-theme="dark"] .social-contact,
[data-theme="dark"] .value-card,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .differentiator,
[data-theme="dark"] .vision-card,
[data-theme="dark"] .mission-card,
[data-theme="dark"] .tech-item,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .process-step .step-content {
    background: var(--dm-bg-card) !important;
    border-color: var(--dm-border) !important;
    color: var(--dm-text);
}

[data-theme="dark"] .tech-card h3,
[data-theme="dark"] .service-card-front h3,
[data-theme="dark"] .job-card h3,
[data-theme="dark"] .highlight-card h4,
[data-theme="dark"] .category-title,
[data-theme="dark"] .benefit-item h4,
[data-theme="dark"] .detail-content h3,
[data-theme="dark"] .stat-content h4,
[data-theme="dark"] .diff-content h4,
[data-theme="dark"] .value-card h4,
[data-theme="dark"] .vision-card h3,
[data-theme="dark"] .mission-card h3,
[data-theme="dark"] .company-values h3,
[data-theme="dark"] .social-contact h3,
[data-theme="dark"] .intro-content h3,
[data-theme="dark"] .modal-header h3,
[data-theme="dark"] .blog-card h3 a,
[data-theme="dark"] .faq-question span,
[data-theme="dark"] .process-step h3 {
    color: var(--dm-text) !important;
}

[data-theme="dark"] .tech-description,
[data-theme="dark"] .service-card-front p,
[data-theme="dark"] .job-description,
[data-theme="dark"] .highlight-card p,
[data-theme="dark"] .benefit-item p,
[data-theme="dark"] .stat-content p,
[data-theme="dark"] .diff-content p,
[data-theme="dark"] .value-card p,
[data-theme="dark"] .vision-card p,
[data-theme="dark"] .mission-card p,
[data-theme="dark"] .detail-content p,
[data-theme="dark"] .intro-description,
[data-theme="dark"] .cta-content p,
[data-theme="dark"] .blog-card p,
[data-theme="dark"] .faq-answer p,
[data-theme="dark"] .process-step p {
    color: var(--dm-text-secondary) !important;
}

[data-theme="dark"] .tech-name {
    color: var(--dm-text) !important;
}

[data-theme="dark"] .filter-btn {
    background: var(--dm-bg-card);
    color: var(--dm-text);
    border-color: var(--dm-border);
}

[data-theme="dark"] .skill-tag {
    background: rgba(56, 189, 248, 0.1);
    color: var(--dm-accent);
}

[data-theme="dark"] .job-tag.remote {
    background: rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .job-tag.full-time {
    background: rgba(56, 189, 248, 0.15);
}

[data-theme="dark"] .modal-content {
    background: var(--dm-bg-card);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--dm-bg);
    border-color: var(--dm-border);
    color: var(--dm-text);
}

[data-theme="dark"] footer {
    background: #020617;
}

[data-theme="dark"] .nav-links {
    background: var(--dm-bg);
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: var(--dm-bg) !important;
        border-top-color: var(--dm-border);
    }
}

[data-theme="dark"] .scroll-to-top {
    background: var(--dm-bg-card);
    border: 1px solid var(--dm-border);
}

[data-theme="dark"] .more-opportunities {
    background: linear-gradient(135deg, #1E293B, #0F172A) !important;
}

/* ============================================
   PREMIUM HERO SECTION — VIDEO BACKGROUND
   ============================================ */

.hero-premium {
    background: #0A1628 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px !important;
}

/* Video Background */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.80) 0%,
        rgba(10, 22, 40, 0.70) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

/* Centered Layout */
.hero-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-size: 3.8rem !important;
    font-weight: 800;
    color: white;
    line-height: 1.12 !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #38BDF8, #818CF8, #34D399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem !important;
    color: rgba(203, 213, 225, 0.85) !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
    margin: 0 auto 36px auto !important;
}

.hero-premium .hero-btns {
    justify-content: center;
    gap: 16px;
    margin-top: 0 !important;
    margin-bottom: 48px;
}

.btn-premium {
    background: white !important;
    color: #0F172A !important;
    padding: 16px 32px !important;
    border-radius: 10px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-premium:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2) !important;
    background: #F1F5F9 !important;
}

.btn-outline-premium {
    background: transparent !important;
    color: white !important;
    padding: 16px 32px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-3px) !important;
}

/* Proof Stats Strip */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.proof-item {
    text-align: center;
    padding: 0 28px;
}

.proof-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.proof-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(148, 163, 184, 0.2);
    flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator-premium {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    color: rgba(203, 213, 225, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.scroll-arrow {
    margin-top: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Mobile Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
    }

    .proof-item {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.1rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
    }

    .hero-premium .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-premium,
    .btn-outline-premium {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-proof {
        flex-direction: column;
        gap: 20px;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }
}

/* ============================================
   PROCESS / HOW WE WORK SECTION
   ============================================ */

.process-section {
    background: #fff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 1;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.process-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.15);
    position: relative;
    z-index: 2;
    border: 3px solid rgba(0, 168, 255, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #ffab40);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.12);
    border-color: var(--secondary-color);
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.step-tags span {
    padding: 6px 14px;
    background: rgba(0, 168, 255, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.08);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .process-line {
        left: 30px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.3rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        top: -5px;
        right: -5px;
    }

    .process-step {
        gap: 20px;
    }

    .step-content {
        padding: 22px 20px;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   BLOG / INSIGHTS SECTION
   ============================================ */

.blog-section {
    background: #f8f9fa;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 168, 255, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 168, 255, 0.12);
    border-color: var(--secondary-color);
}

.blog-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-image {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.05);
}

.blog-image-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-color);
    backdrop-filter: blur(10px);
}

.blog-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-card h3 {
    margin-bottom: 12px;
}

.blog-card h3 a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-card > .blog-body > p,
.blog-featured > .blog-body > p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-cta {
    text-align: center;
}

@media (max-width: 992px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-body {
        padding: 22px 24px;
    }

    .blog-card h3 a {
        font-size: 1.15rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: #fff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 1;
}

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

.faq-item {
    margin-bottom: 16px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 168, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.2);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.12);
    border-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 22px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.02rem;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 22px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 22px 18px;
        font-size: 0.95rem;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.cookie-icon {
    font-size: 2.2rem;
    color: #FBBF24;
    flex-shrink: 0;
}

.cookie-text h4 {
    color: #E2E8F0;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.cookie-text p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-accept {
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}

.cookie-essential {
    background: rgba(148, 163, 184, 0.15);
    color: #CBD5E1;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.cookie-essential:hover {
    background: rgba(148, 163, 184, 0.25);
}

.cookie-link {
    color: #94A3B8;
    font-size: 0.85rem;
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: #E2E8F0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 25px;
        gap: 18px;
    }

    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.chat-icon-close {
    display: none;
}

.chat-widget.open .chat-icon-open {
    display: none;
}

.chat-widget.open .chat-icon-close {
    display: block;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EF4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: badgePulse 2s infinite;
}

.chat-widget.open .chat-badge {
    display: none;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-widget.open .chat-window {
    display: flex;
}

@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34D399;
    flex-shrink: 0;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-status-text {
    font-size: 0.8rem;
    opacity: 0.85;
}

.chat-minimize {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chat-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #10B981, #059669);
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.bot-message .message-bubble {
    background: #F1F5F9;
    color: #334155;
    border-bottom-left-radius: 4px;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bubble p {
    margin: 0;
}

.message-time {
    font-size: 0.7rem;
    color: #94A3B8;
    margin-top: 4px;
    display: block;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px;
}

.quick-reply {
    padding: 8px 14px;
    background: white;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4F46E5;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.quick-reply:hover {
    background: rgba(79, 70, 229, 0.08);
    border-color: #4F46E5;
    transform: translateY(-1px);
}

.chat-input-area {
    display: flex;
    padding: 15px 18px;
    border-top: 1px solid #E2E8F0;
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 25px;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.chat-input-area input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #0EA5E9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

[data-theme="dark"] .chat-window {
    background: var(--dm-bg-card);
}

[data-theme="dark"] .bot-message .message-bubble {
    background: var(--dm-bg);
    color: var(--dm-text);
}

[data-theme="dark"] .chat-input-area {
    border-top-color: var(--dm-border);
}

[data-theme="dark"] .chat-input-area input {
    background: var(--dm-bg);
    border-color: var(--dm-border);
    color: var(--dm-text);
}

[data-theme="dark"] .quick-reply {
    background: var(--dm-bg);
    border-color: rgba(56, 189, 248, 0.2);
    color: var(--dm-accent);
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 450px;
    }

    .chat-toggle {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
}

/* ============================================
   JOB APPLICATION - ENHANCED FEEDBACK
   ============================================ */

.application-success {
    text-align: center;
    padding: 40px 20px;
}

.application-success i {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 20px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.application-success h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.application-success p {
    color: var(--text-light);
    line-height: 1.6;
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #10B981;
}

.form-error {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group input.error ~ .form-error,
.form-group textarea.error ~ .form-error {
    display: block;
}

/* ============================================
   MISC PREMIUM IMPROVEMENTS
   ============================================ */

/* Smooth transitions for all premium elements */
.hero-premium *,
.process-section *,
.blog-section *,
.faq-section * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better focus states */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(79, 70, 229, 0.2);
    color: inherit;
}

/* Smooth scroll override */
html {
    scroll-behavior: smooth;
}

/* --- Premium section title underline for new sections --- */
/* Section title underlines handled by main.css */
