:root {
    /* Colors */
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --primary-600: #2563eb;

    /* Typography */
    --font-weight-semibold: 600;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-2xl: 3rem;
    --space-5xl: 6rem;

    /* Transitions */
    --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Brand Colors */
    --primary-5003: #3b82f6;
    --primary-6003: #2563eb;

    /* Neutral Colors */
    --gray-2003: #e5e7eb;
    --gray-7003: #374151;

    /* Gradients */
    --gradient-primary3: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);

    /* Typography */
    --font-family-primary3: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-semibold3: 600;

    /* Spacing */
    --space-xs3: 0.25rem;
    --space-sm3: 0.5rem;
    --space-md3: 1rem;
    --space-lg3: 1.5rem;
    --space-xl3: 2rem;
    --space-2xl3: 3rem;

    /* Border Radius */
    --radius-lg3: 0.75rem;
    --radius-xl3: 1rem;

    /* Shadows */
    --shadow-lg3: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-normal3: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafa;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-logo i {
    color: #2196F3;
}

.footer-description {
    color: #999;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #2196F3;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.8) 80%, white 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hero-icon {
    flex: 0 0 auto;
    opacity: 0.95;
    transform: translateY(-10px) scale(1);
    animation: float 4s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-icon:hover {
    transform: translateY(-15px) scale(1.05);
    animation-play-state: paused;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-10px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.btn {
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
    min-width: 180px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: pulse-primary 3s ease-in-out infinite;
}

.btn-primary::after {
    content: '🚀';
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
    animation: border-glow 4s ease-in-out infinite;
}

.btn-secondary::after {
    content: '→';
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover::after {
    transform: translateX(6px);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse-primary {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

@keyframes border-glow {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0);
    }
}

/* Main Content Section */
.main-content {
    padding: 80px 0 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.background-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}


.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    animation: float-shapes 20s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: -14s;
}

@keyframes float-shapes {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.title-icon {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1e3a8a;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.search-container {
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.search-wrapper {
    position: relative;
    margin-bottom: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.02);
    border-radius: 58px;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.search-box:focus-within::before {
    opacity: 1;
    transform: scale(1);
}

.search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(0, 0, 0, 0.06);
}

.search-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.15), 0 10px 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-6px) scale(1.02);
}

.search-icon {
    margin-left: 24px;
    margin-right: 16px;
    color: #64748b;
    display: flex;
    align-items: center;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.search-box:hover .search-icon {
    color: #3b82f6;
    transform: rotate(90deg) scale(1.1);
}

.search-box:focus-within .search-icon {
    color: #3b82f6;
    transform: rotate(90deg) scale(1.2);
}

.search-input {
    flex: 1;
    padding: 22px 28px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
    z-index: 1;
    position: relative;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-input:focus {
    transform: translateX(8px);
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-input:focus::placeholder {
    color: #cbd5e1;
    transform: translateX(4px);
}

.search-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 20px 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 1;
    position: relative;
    border-radius: 50px;
    margin: 6px;
    min-width: 130px;
    justify-content: center;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.search-btn:hover::before {
    width: 300px;
    height: 300px;
}

.search-btn:hover {
    background: #2563eb;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4), 0 10px 25px rgba(59, 130, 246, 0.2);
}

.search-btn:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s ease;
}

.search-btn svg {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.search-btn:hover svg {
    transform: translateX(4px) rotate(10deg);
}

.search-tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tagline-icon {
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

.search-tagline {
    font-size: 1.2rem;
    color: #1e3a8a;
    font-weight: 600;
    margin: 0;
}

.popular-searches {
    text-align: center;
    margin-bottom: 40px;
}

.popular-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.popular-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    color: #1e3a8a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.popular-tag:hover {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 48px 36px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(147, 197, 253, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.feature-card:nth-child(2):hover .feature-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #fbbf24;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.feature-card:nth-child(3):hover .feature-icon {
    background: linear-gradient(135deg, #10b981, #047857);
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.work-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.work-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.05));
    animation: work-float 25s ease-in-out infinite;
}

.work-shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.work-shape-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: 10%;
    animation-delay: -8s;
}

.work-shape-3 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 20%;
    animation-delay: -16s;
}

@keyframes work-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

.works-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.works-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.steps-wrapper {
    position: relative;
    z-index: 2;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    max-width: 280px;
    border: 2px solid transparent;
    overflow: hidden;
}


.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(147, 197, 253, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.step:hover::before {
    opacity: 1;
}

.step-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.step:hover .step-glow {
    opacity: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.step:hover .step-icon {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-color: #3b82f6;
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.step[data-step="2"]:hover .step-icon {
    background: linear-gradient(135deg, #10b981, #047857);
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.step[data-step="3"]:hover .step-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid white;
    z-index: 2;
}

.step-icon svg {
    color: #3b82f6;
    transition: color 0.3s ease;
}

.step:hover .step-icon svg {
    color: white;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e3a8a;
    letter-spacing: -0.01em;
}

.step-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    color: #1e3a8a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-badge {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.connecting-line {
    flex: 0 0 auto;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e2e8f0, #3b82f6, #e2e8f0);
    margin: 0 20px;
    position: relative;
    opacity: 0;
    animation: fadeInLine 0.8s ease forwards;
    border-radius: 2px;
}

.connecting-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
    border-radius: 2px;
    animation: fillLine 2s ease-in-out infinite;
}

.line-1 {
    animation-delay: 0.7s;
}

.line-1::before {
    animation-delay: 1.2s;
}

.line-2 {
    animation-delay: 1s;
}

.line-2::before {
    animation-delay: 1.5s;
}

@keyframes fadeInLine {
    to {
        opacity: 1;
    }
}

@keyframes fillLine {

    0%,
    100% {
        width: 0;
    }

    50% {
        width: 100%;
    }
}

.cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero-layout {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-icon {
        order: 2;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 16px 28px;
        animation: mobile-bounce-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn:active {
        animation: mobile-tap-bounce 0.3s ease;
        transform: scale(0.95);
    }

    .btn-primary {
        animation: mobile-pulse-primary 2s ease-in-out infinite,
        mobile-bounce-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn-primary:active::after {
        animation: rocket-blast 0.5s ease;
    }

    .btn-secondary {
        animation: mobile-border-glow 3s ease-in-out infinite,
        mobile-bounce-in 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation-delay: 0s, 0.2s;
    }

    .btn-secondary:active::after {
        animation: arrow-shoot 0.4s ease;
    }

    .section-title {
        font-size: 2rem;
    }

    .title-with-icon {
        flex-direction: column;
        gap: 16px;
    }

    .title-icon {
        width: 56px;
        height: 56px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .popular-tags {
        justify-content: center;
    }

    .search-wrapper {
        max-width: 100%;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .search-box {
        flex-direction: row;
        border-radius: 50px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
        margin: 0 8px;
        border-top: none;
    }

    .search-box:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .search-box:focus-within {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12), 0 5px 20px rgba(59, 130, 246, 0.08);
    }

    .search-icon {
        margin-left: 20px;
        margin-right: 12px;
    }

    .search-box:hover .search-icon {
        transform: rotate(45deg) scale(1.05);
    }

    .search-box:focus-within .search-icon {
        transform: rotate(45deg) scale(1.1);
    }

    .search-input {
        padding: 18px 16px;
        font-size: 1rem;
    }

    .search-input:focus {
        transform: translateX(2px);
    }

    .search-btn {
        padding: 16px 24px;
        margin: 4px;
        min-width: 100px;
        font-size: 0.9rem;
        border-top: none;
    }

    .search-btn:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .search-btn span {
        display: none;
    }

    .search-tagline-container {
        flex-direction: column;
        text-align: center;
        margin: 16px 0 20px 0;
        gap: 8px;
    }

    .search-tagline {
        font-size: 1rem;
        line-height: 1.4;
        max-width: 280px;
        margin: 0 auto;
        order: 1;
    }

    .tagline-icon {
        order: 2;
        font-size: 1.2rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .connecting-line {
        display: none;
    }

    .step {
        max-width: none;
    }

    .filter-bar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch; /* Make children full-width */
        padding: 0 16px;
    }

    .filter-select {
        width: 100%;
        max-width: 400px; /* Stop it from being too wide */
        margin: 0 auto; /* Center it */
    }

    #upgradeToPro {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .cv-results-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .cv-card .btn-primary {
        font-size: 1rem;
    }

    .modal-dialog {
        max-width: 95vw;
        margin: 10px auto;
    }

    #cv-preview-iframe {
        height: 75vh;
    }
}

@media (max-width: 480px) {
    .search-wrapper {
        padding: 0 12px;
    }

    .search-box {
        margin: 0 4px;
        border-radius: 45px;
    }

    .search-icon {
        margin-left: 16px;
        margin-right: 10px;
    }

    .search-input {
        padding: 16px 12px;
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 18px 24px;
        margin: 3px;
        min-width: 90px;
        font-size: 0.9rem;
        border-radius: 40px;
        animation: mobile-search-float 3s ease-in-out infinite;
        position: relative;
        overflow: hidden;
    }

    .search-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }

    .search-btn:active::after {
        width: 200px;
        height: 200px;
        animation: mobile-ripple 0.6s ease;
    }

    .search-btn:hover {
        transform: translateY(-2px) scale(1.05);
        animation: mobile-search-excited 0.8s ease infinite;
    }

    .search-btn svg {
        margin: 0;
        width: 18px;
        height: 18px;
        animation: mobile-icon-bob 2.5s ease-in-out infinite;
    }

    .search-btn:active svg {
        animation: mobile-icon-spin 0.5s ease;
    }

    .search-tagline-container {
        flex-direction: column;
        margin: 12px 0 16px 0;
        gap: 6px;
    }

    .search-tagline {
        font-size: 0.9rem;
        line-height: 1.3;
        max-width: 250px;
        word-spacing: 0.1em;
        order: 1;
    }

    .tagline-icon {
        order: 2;
        font-size: 1rem;
    }

    .cta-button {
        animation: mobile-cta-entrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        mobile-cta-pulse 3s ease-in-out infinite 1s;
    }

    .cta-button:active {
        animation: mobile-cta-bounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .cta-button:active svg {
        animation: mobile-arrow-dash 0.6s ease;
    }
}

/* Mobile-Specific Animation Keyframes */
@keyframes mobile-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes mobile-tap-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes mobile-pulse-primary {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3),
        0 0 20px rgba(30, 58, 138, 0.2);
    }
}

@keyframes mobile-border-glow {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: none;
    }

    50% {
        border-color: rgba(255, 255, 255, 1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

@keyframes rocket-blast {
    0% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(8px) scale(1.3);
    }

    100% {
        transform: translateX(4px) scale(1);
    }
}

@keyframes arrow-shoot {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(12px);
    }

    100% {
        transform: translateX(6px);
    }
}

@keyframes mobile-search-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes mobile-search-excited {

    0%,
    100% {
        transform: translateY(-2px) scale(1.05);
    }

    25% {
        transform: translateY(-4px) scale(1.08);
    }

    75% {
        transform: translateY(-1px) scale(1.03);
    }
}

@keyframes mobile-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes mobile-icon-bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(5deg);
    }

    75% {
        transform: translateY(1px) rotate(-3deg);
    }
}

@keyframes mobile-icon-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes mobile-cta-entrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(100px) rotate(-10deg);
    }

    60% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-20px) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

@keyframes mobile-cta-pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5),
        0 0 30px rgba(59, 130, 246, 0.3);
    }
}

@keyframes mobile-cta-bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.9) rotate(-2deg);
    }

    60% {
        transform: scale(1.05) rotate(1deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes mobile-arrow-dash {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(15px) scale(1.3);
    }

    100% {
        transform: translateX(4px) scale(1);
    }
}

/* Animation Classes */
.fade-in {
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.animate {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

.stagger-delay-4 {
    transition-delay: 0.4s;
}

.stagger-delay-5 {
    transition-delay: 0.5s;
}

/* Enhanced hero animations */
.hero-content {
    flex: 1;
    text-align: left;
    max-width: none;
}

.hero-icon {
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(-10px) scale(1);
    animation: float 4s ease-in-out infinite, glow 3s ease-in-out infinite alternate, hero-icon-entrance 1.2s ease forwards;
    transition: transform 0.3s ease;
    cursor: pointer;
    animation-delay: 0.8s;
}

@keyframes hero-icon-entrance {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8) rotate(-10deg);
    }

    100% {
        opacity: 0.95;
        transform: translateY(-10px) scale(1) rotate(0deg);
    }
}

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


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-100%);
    animation: slideInDown 0.8s ease-out 0.1s forwards;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    height: 100px;
    position: relative;
    gap: 40px;
}

@media (max-width: 800px) {
    .nav-container {
        height: 90px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
    z-index: 1001;
    justify-self: start;
    margin-left: -10px;
}

@media (min-width: 800px) {
    .nav-logo {
        position: relative;
        right: 50px;
    }
}

.nav-logo i {
    color: #2196F3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    justify-self: center;
    margin-left: 190px;
}

@media (max-width: 768px) {
    .nav-right {
        gap: 8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        transform: none;
        padding: 10px 0;
        /* smaller padding top/bottom */
        gap: 0;
        margin-left: 0;
        border-radius: 0 0 12px 12px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 2px 0;
        /* very small spacing */
    }

    .nav-menu li:first-child {
        margin-top: 0;
    }

    .nav-menu li:last-child {
        margin-bottom: 0;
    }

    .nav-menu a {
        padding: 8px;
        /* smaller clickable area */
        display: block;
    }
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.nav-link:hover {
    color: #2196F3;
    text-shadow: 0 0 8px rgba(33, 150, 243, 0.6), 0 0 16px rgba(33, 150, 243, 0.4), 0 0 24px rgba(33, 150, 243, 0.2);
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.15), inset 0 0 12px rgba(33, 150, 243, 0.05);
    background: rgba(33, 150, 243, 0.05);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2196F3, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: calc(100% - 32px);
    box-shadow: 0 0 6px rgba(33, 150, 243, 0.8);
}

/* Special Invite Link Styling */
.nav-link-special {
    position: relative;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.04), rgba(25, 118, 210, 0.02));
    border: 1px solid rgba(33, 150, 243, 0.08);
    border-radius: 12px;
    padding: 8px 16px !important;
    overflow: hidden;
    backdrop-filter: blur(2px);
    animation: inviteGlow 4s ease-in-out infinite;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.nav-link-special::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: subtleShimmer 6s ease-in-out infinite;
    z-index: 1;
    border-radius: 12px;
}


.nav-link-special:hover {
    color: #2196F3 !important;
    text-shadow: 0 0 6px rgba(33, 150, 243, 0.4);
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.2),
    0 0 24px rgba(33, 150, 243, 0.1),
    inset 0 0 8px rgba(33, 150, 243, 0.06);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(25, 118, 210, 0.05));
    border-color: rgba(33, 150, 243, 0.25);
    transform: translateY(-2px);
}

.nav-link-special span {
    position: relative;
    z-index: 2;
}

@keyframes inviteGlow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(33, 150, 243, 0.3),
        0 0 16px rgba(33, 150, 243, 0.15),
        inset 0 0 6px rgba(33, 150, 243, 0.1);
        border-color: rgba(33, 150, 243, 0.25);
    }

    50% {
        box-shadow: 0 0 14px rgba(33, 150, 243, 0.45),
        0 0 28px rgba(33, 150, 243, 0.25),
        inset 0 0 10px rgba(33, 150, 243, 0.15);
        border-color: rgba(33, 150, 243, 0.35);
    }
}

@keyframes subtleShimmer {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 0.3;
        transform: translateX(100%);
    }
}


.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    right: -80px;
}


.btn3 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm3);
    padding: var(--space-md3) var(--space-xl3);
    border: none;
    border-radius: var(--radius-lg3);
    font-family: var(--font-family-primary3);
    font-weight: var(--font-weight-semibold3);
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal3);
    position: relative;
    overflow: hidden;
}

.btn3-primary {
    background: var(--gradient-primary3);
    color: white;
    box-shadow: var(--shadow-lg3);
}

.btn3-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg3);
}

.btn3-hero {
    padding: var(--space-lg3) var(--space-2xl3);
    font-size: 1rem;
    font-weight: var(--font-weight-bold3);
    border-radius: var(--radius-xl3);
}

/* Tablet and below */
@media (max-width: 768px) {
    .btn3 {
        width: 100%;
        justify-content: center;
        padding: var(--space-lg3) var(--space-xl3);
        font-size: 0.9375rem;
    }

    .btn3-hero {
        width: 100%;
        padding: var(--space-lg3) var(--space-2xl3);
        font-size: 1.125rem;
    }

    /* Button container for stacked layout */
    .btn3-container {
        flex-direction: column;
        gap: var(--space-sm3);
        margin-bottom: var(--space-lg3);
    }
}

/* Phone and small devices */
@media (max-width: 480px) {
    .btn3 {
        width: 100%;
        padding: var(--space-md3) var(--space-lg3);
        font-size: 0.875rem;
        border-radius: var(--radius-lg3);
    }

    .btn3-hero {
        width: 100%;
        padding: var(--space-lg3) var(--space-xl3);
        font-size: 1rem;
        border-radius: var(--radius-lg3);
    }

    /* Reduced hover effects on mobile for better touch experience */
    .btn3-primary:hover {
        transform: none;
        box-shadow: var(--shadow-lg3);
    }

    /* Touch-friendly active state */
    .btn3-primary:active {
        transform: scale(0.98);
    }

}


@media (max-width: 768px) {

    .mobile-login {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
        font-weight: 600;
        background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-login:hover {
        background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
        box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
        transform: translateY(-2px);
    }

}


.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: -10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .nav-right {
        gap: 8px;
    }
}


/* Navigation Auth Buttons */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    left: 50px;
}

@media (max-width: 768px) {
    .nav-actions {
        display: none !important;
    }
}


.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    right: -80px;
}


@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}


@media (max-width: 768px) {

    /* Override navbar glow effects for mobile */
    .nav-link {
        padding: 16px 20px;
        margin: 8px 0;
        position: relative;
        border-radius: 8px;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
    }

    .nav-link:hover {
        text-shadow: none;
        box-shadow: none;
        background: rgba(33, 150, 243, 0.1);
        transform: none;
        border-bottom-color: #2196f3;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        height: 2px;
        background: linear-gradient(90deg, #2196f3, #1976d2);
        transform: scaleX(0);
        transition: transform 0.3s ease;
        border-radius: 1px;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
        box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    }

    /* Special styling for active nav link */
    .nav-link.active {
        background: rgba(33, 150, 243, 0.15);
        border-bottom-color: #2196f3;
    }

    .nav-link.active::after {
        transform: scaleX(1);
        background: linear-gradient(90deg, #2196f3, #1976d2);
    }
}

.bar {
    width: 25px;
    height: 2.2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {

    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        margin: 20px 0;
        padding: 0 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 20px;
    }
}

.mobile-auth-buttons {
    display: none;
}

@media (max-width: 768px) {

    .nav-link.active {
        background: transparent !important;
        color: inherit !important;
        border-bottom: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
    }

}


.logo-image {
    height: 105px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(35%) sepia(65%) saturate(3200%) hue-rotate(202deg) brightness(115%) contrast(105%);
}

@media (min-width: 800px) {
    .nav-menu {
        margin-left: 450px;
    }
}

@media (max-width: 800px) {
    .hero {
        padding: 140px 0 50px;
        /* Changed from 100px to 140px */
        min-height: 80vh;
    }
}

@media (min-width: 800px) {
    .hero {
        /* 130px Top: Clears navbar + small gap */
        /* 250px Bottom: Adds extra space to keep the section tall & impressive */
        padding: 130px 0 250px; 
    }

    .footer {
        background: var(--gray-900);
        color: var(--gray-300);
        padding: var(--space-5xl) 0 var(--space-2xl);
        margin-top: var(--space-5xl);
    }

    /* Grid Layout */
    .footer .row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -15px;
    }

    .footer .col-md-4 {
        padding: 0 15px;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .footer .col-md-2 {
        padding: 0 15px;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .footer .offset-md-2 {
        margin-left: 16.666667%;
    }

    /* Spacing Utilities */
    .footer .mb-4 {
        margin-bottom: var(--space-lg);
    }

    .footer .mb-md-0 {
        margin-bottom: 0;
    }

    .footer .mt-4 {
        margin-top: var(--space-lg);
    }

    .footer .me-2 {
        margin-right: 0.5rem;
    }

    .footer-logo {
        height: 120px;
        width: auto;
        object-fit: contain;
        filter: brightness(0) saturate(100%) invert(39%) sepia(57%) saturate(4755%) hue-rotate(185deg) brightness(99%) contrast(93%);
        margin-bottom: var(--space-md);
    }

    .footer p {
        color: var(--gray-400);
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }

    .footer h5 {
        color: white;
        font-weight: var(--font-weight-semibold);
        margin-bottom: var(--space-lg);
        font-size: 1.1rem;
    }

    .footer .list-unstyled {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer .list-unstyled li {
        margin-bottom: var(--space-sm);
    }

    .footer .list-unstyled a {
        color: var(--gray-400);
        text-decoration: none;
        transition: color var(--transition-normal);
    }

    .footer .list-unstyled a:hover {
        color: white;
    }

    .social-icons {
        display: none;
        /* Currently hidden */
        gap: var(--space-md);
    }

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--gray-800);
        color: var(--gray-400);
        border-radius: 50%;
        text-decoration: none;
        transition: all var(--transition-normal);
    }

    .social-icons a:hover {
        background: var(--primary-600);
        color: white;
        transform: translateY(-2px);
    }


    @media (max-width: 1024px) {

        .footer .col-md-4,
        .footer .col-md-2 {
            flex: 0 0 50%;
            max-width: 50%;
        }

        .footer .offset-md-2 {
            margin-left: 0;
        }
    }

    .how-it-works {
        margin-bottom: 0px;
    }

    .footer {
        margin-top: 0px;
    }

    @media (max-width: 800px) {

        .nav-toggle {
            right: -55px;
            top: -3px;
        }
    }

    @media (max-width: 380px) {
        .nav-toggle {
            right: -65px;
            top: -3px;
        }
    }

    @media (min-width: 400px) and (max-width: 800px) {
        .nav-toggle {
            right: -105px;
            top: -3px;
        }
    }

    @media (min-width: 381px) and (max-width: 399px) {
        .nav-toggle {
            right: -85px;
            top: -3px;
        }
    }
}


.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-5xl) 0 var(--space-2xl);
}

/* Grid Layout */
.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer .col-md-4 {
    padding: 0 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.footer .col-md-2 {
    padding: 0 15px;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.footer .offset-md-2 {
    margin-left: 16.666667%;
}

/* Spacing Utilities */
.footer .mb-4 {
    margin-bottom: var(--space-lg);
}

.footer .mb-md-0 {
    margin-bottom: 0;
}

.footer .mt-4 {
    margin-top: var(--space-lg);
}

.footer .me-2 {
    margin-right: 0.5rem;
}

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(39%) sepia(57%) saturate(4755%) hue-rotate(185deg) brightness(99%) contrast(93%);
    margin-bottom: var(--space-md);
}

.footer p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer h5 {
    color: white;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.footer .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .list-unstyled li {
    margin-bottom: var(--space-sm);
}

.footer .list-unstyled a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer .list-unstyled a:hover {
    color: white;
}

.social-icons {
    display: none;
    /* Currently hidden */
    gap: var(--space-md);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom .text-white-50 {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-bottom .text-white-50:hover {
    color: var(--gray-300);
}

@media (max-width: 1024px) {

    .footer .col-md-4,
    .footer .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer .offset-md-2 {
        margin-left: 0;
    }
}

@media (max-width: 768px) {

    .footer .col-md-4,
    .footer .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-lg);
    }

    .footer .offset-md-2 {
        margin-left: 0;
    }

    .footer-bottom {
        text-align: center;
    }
}

.filter-bar {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: -16px; /* Pull it up closer to the search bar */
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.filter-select {
    /* Reset default browser styles */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom Styles */
    background-color: white;
    border: 2px solid var(--gray-2003, #e5e7eb);
    border-radius: var(--radius-lg3, 12px);
    padding: 12px 40px 12px 20px; /* Extra padding on right for arrow */
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-7003, #374151);
    cursor: pointer;
    transition: all 0.3s ease;

    /* Custom Arrow using SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px 20px;
}

.filter-select:hover {
    border-color: var(--primary-5003, #3b82f6);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-6003, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.copy-cv-count {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-7003, #374151);
}

.copy-cv-count strong {
    font-weight: 700;
    color: #1e3a8a; /* Matches .section-title blue */
}

/* Style for the 'Upgrade' button to match */
#upgradeToPro {
    font-weight: 600;
    border-radius: var(--radius-lg3, 12px);
    padding: 10px 20px;
    transition: all 0.3s ease;
    background-color: #f59e0b; /* Bootstrap yellow */
    border-color: #f59e0b;
    color: white;
    margin-left: auto;
    margin-right: auto;
}

#upgradeToPro:hover {
    transform: translateY(-2px);
    background-color: #d97706;
    border-color: #d97706;
}

.cv-results-section {
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

#cv-results-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 40px;
}

.cv-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.cv-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-2003, #e5e7eb);
}

.cv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.cv-thumbnail {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top; /* Shows the top of the CV */
    border-bottom: 1px solid var(--gray-2003, #e5e7eb);
    background-color: #f8fafc; /* Placeholder color */
    padding: 3px;
}

.cv-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures footer content (button) stays at the bottom */
}

.cv-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.cv-company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500, #6b7280);
    margin-bottom: 16px;
}

.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes button to bottom */
}

.cv-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cv-card .btn-primary {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    min-width: auto;
    /* Overriding .btn-primary from hero */
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.cv-card .btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.cv-results-empty {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-500, #6b7280);
    padding: 40px;
    background: white;
    border-radius: 16px;
    border: 2px dashed var(--gray-2003, #e5e7eb);
}

/*
=================================
NEW: Modal Preview Styles
=================================
*/

.modal-dialog {
    /* Uses Bootstrap default, but we can override */
    max-width: 900px;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--gray-2003, #e5e7eb);
    padding: 20px 30px;
}

.modal-header .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a8a;
}

.modal-body {
    padding: 0;
    background: #f1f5f9; /* Background for the iframe area */
}

.cv-preview-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: var(--gray-500, #6b7280);
}

.cv-preview-loader p {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

#cv-preview-iframe {
    width: 100%;
    height: 70vh; /* Make it responsive to viewport height */
    border: none;
}

.modal-footer {
    background: #f8fafc;
    border-top: 1px solid var(--gray-2003, #e5e7eb);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
}

.modal-footer .btn-secondary {
    background-color: var(--gray-2003, #e5e7eb);
    color: var(--gray-7003, #374151);
    border: none;
}

.modal-footer .btn-secondary:hover {
    background-color: #d1d5db;
}

.modal-footer .btn-primary {
    background: #3b82f6;
    border: none;
}

.modal-footer .btn-primary:hover {
    background: #2563eb;
}

#cv-download-btn {
    color: white !important;
}

.nav-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;  /* Width of the touch area */
    height: 60px; /* Height of the touch area */
    background: transparent; /* Keeps it invisible */
    z-index: 100; /* Ensures it sits on top of the lines */
}

@media (max-width: 800px) {
    .hero {
        /* 130px Top: Clears navbar + small gap */
        /* 250px Bottom: Adds extra space to keep the section tall & impressive */
        padding: 60px 0 100px; 
    }
    /* ... */
}