/* ============================================================
   CV FILTER — STYLES
   Design: Clean professional · Blue & white · Premium feel
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --blue:        #0ea5e9;
    --blue-dark:   #0369a1;
    --blue-light:  #e0f2fe;
    --blue-glow:   rgba(14, 165, 233, 0.25);
    --navy:        #0c1a2e;
    --navy-mid:    #112240;
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-400:    #94a3b8;
    --gray-600:    #475569;
    --gray-800:    #1e293b;
    --success:     #10b981;
    --warning:     #f59e0b;
    --error:       #ef4444;

    --font-display: 'Outfit', sans-serif;
    --font-body:    'Source Serif 4', serif;

    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   24px;
    --radius-xl:   36px;

    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.14);
    --shadow-blue: 0 8px 30px rgba(14, 165, 233, 0.30);

    --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: rgb(223, 218, 218);
    color: var(--gray-800);
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font-display); cursor: pointer; border: none; background: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(12, 26, 46, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    z-index: 1100;
}

.logo-icon { font-size: 1.1em; }
.logo-text { letter-spacing: -0.02em; }
.logo-text strong { color: var(--blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 99px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #0ea5e9, transparent);
    top: -150px; right: -100px;
    animation: blobFloat 12s ease-in-out infinite;
}

.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #0369a1, transparent);
    bottom: -100px; left: -100px;
    animation: blobFloat 16s ease-in-out infinite reverse;
}

.blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #7dd3fc, transparent);
    top: 40%; left: 40%;
    animation: blobFloat 10s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.98); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    color: #0ea5e9;
    background: linear-gradient(135deg, var(--blue) 80%, #7dd3fc 100%);
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 99px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition), color var(--transition);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.14);
    color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 3px; max-width: 120px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

.hero-image {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding-left: 80px;
}

#pic01 {
    width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 60px rgba(14, 165, 233, 0.35);
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* ===== SECTIONS ===== */
.section { padding: 90px 24px; }
.section-light { background: var(--off-white); }
.section-dark { background: var(--navy); }
.section-keywords { background: var(--navy-mid); }

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.6); }

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.75;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}

.tag-light {
    background: rgba(14, 165, 233, 0.15);
    color: var(--blue);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* ===== HOW IT WORKS ===== */
.how-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.how-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.how-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: block;
}

.how-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.how-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.65;
}

.how-arrow {
    font-size: 1.8rem;
    color: var(--gray-400);
    flex-shrink: 0;
    padding: 0 4px;
}

/* ===== UPLOAD / FILTER ===== */
.upload-card {
    max-width: 640px;
    margin: 0 auto;
}

.upload-area {
    background: rgba(255,255,255,0.04);
    border: 2px dashed rgba(14, 165, 233, 0.35);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    position: relative;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--blue);
    background: rgba(14, 165, 233, 0.08);
}

.upload-icon { font-size: 2.8rem; margin-bottom: 14px; }

.upload-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-badge {
    display: inline-block;
    margin-top: 14px;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(14, 165, 233, 0.4);
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 99px;
}

.btn-analyze {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 16px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    box-shadow: var(--shadow-blue);
}

.btn-analyze:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

.btn-analyze:active { transform: translateY(0); }

.result-area {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--white);
}

.result-area h3 { margin-bottom: 12px; font-size: 1.05rem; }
.result-area ul { padding-left: 0; }
.result-area li {
    background: rgba(255,255,255,0.06);
    border-left: 3px solid var(--blue);
    padding: 10px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== TIPS GRID ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.tip-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #7dd3fc);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.tip-card:hover::before { transform: scaleX(1); }

.tip-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tip-card h4 {
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.35;
}

.tip-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.65;
    font-family: var(--font-body);
    font-weight: 300;
}

/* ===== ACCORDION KEYWORDS ===== */
.keywords-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kw-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.kw-item.open { border-color: rgba(14, 165, 233, 0.4); }

.kw-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    color: rgba(255,255,255,0.88);
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 600;
    text-align: left;
    transition: background var(--transition), color var(--transition);
}

.kw-header:hover { background: rgba(255,255,255,0.05); color: var(--white); }

.kw-icon { font-size: 1.1rem; flex-shrink: 0; }

.kw-header span:nth-child(2) { flex: 1; }

.kw-arrow {
    font-size: 1.3rem;
    color: var(--blue);
    transition: transform 0.3s ease;
    font-weight: 400;
    flex-shrink: 0;
}

.kw-item.open .kw-arrow { transform: rotate(45deg); }

.kw-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 22px;
}

.kw-item.open .kw-body {
    max-height: 600px;
    padding: 0 22px 22px;
}

.kw-group {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-weight: 300;
}

.kw-group:last-child { border-bottom: none; }
.kw-group strong { color: rgba(255,255,255,0.8); font-weight: 600; font-family: var(--font-display); }

/* ===== EXAMPLES ===== */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
}

.example-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.example-img-wrap {
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-100);
}

.example-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.example-card:hover .example-img-wrap img { transform: scale(1.05); }

.example-label {
    padding: 12px 14px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

/* ===== AD CONTAINERS ===== */
.ad-container {
    width: 100%;
    max-width: 728px;
    margin: 8px auto;
    text-align: center;
    min-height: 10px;
}

.btn-blog{
    display: block;
    justify-content: center;
    text-align: center;
    color:white;
    font-size: larger;
    background: var(--navy);
    margin:0;
    margin-top: 30px;
    padding: 48px 24px;
    position: relative;
    border: solid 2px #0ea5e9;

}

.btn-blog a{
    margin: 50px;
    font-size:larger;
    background-color: #0ea5e9;
    padding: 5px 5px ;
    border-radius: 5px;
    

}


/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 48px 24px;
    position: relative;
    z-index: 1;
    clear: both;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--blue);
    transition: color var(--transition);
}

.footer-links a:hover { color: #7dd3fc; }
.footer-links span { color: rgba(255,255,255,0.2); }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    font-family: var(--font-display);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.tip-card:nth-child(2).reveal  { transition-delay: 0.06s; }
.tip-card:nth-child(3).reveal  { transition-delay: 0.12s; }
.tip-card:nth-child(4).reveal  { transition-delay: 0.18s; }
.tip-card:nth-child(5).reveal  { transition-delay: 0.08s; }
.tip-card:nth-child(6).reveal  { transition-delay: 0.14s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; gap: 48px; }
    .hero-content { max-width: 100%; }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { padding-left: 0; }
    #pic01 { width: 220px; height: 220px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--navy);
        padding: 90px 28px 40px;
        gap: 20px;
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .nav-overlay { display: block; }

    .hamburger { display: flex; }

    .hero { padding-top: 100px; }

    .how-arrow { display: none; }

    .section { padding: 60px 30px; }

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

    .examples-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .hero-title { font-size: 2.2rem; }

    .hero-stats { gap: 16px; }
    .stat-num { font-size: 1.3rem; }
    .stat-divider { height: 30px; }

    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

    #pic01 { width: 180px; height: 180px; }

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

    .examples-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .upload-area { padding: 32px 20px; }

    .section-header h2 { font-size: 1.6rem; }
    
    .btn-blog{
        justify-content: center;
        text-align: center;
        width: 100%;
        flex-direction: column;
    }
    .btn.blog a{
        margin-top:10px;
        gap: 10px;
    }

    .footer-links { flex-direction: column; gap: 8px; }
}

@media (max-width: 360px) {
    .nav-menu{
        gap:20px;
    }
    .examples-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; }
    .stat-divider { width: 40px; height: 1px; }
}
