/* ===== Variables ===== */
:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-accent: #2563eb;
    --color-red: #e63946;
    --color-success: #22c55e;
    --color-dark: #1e293b;
    --color-gray: #64748b;
    --color-gray-light: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-problem: #f8f8f8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-dark);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
.text-accent { color: var(--color-accent); }
.text-red { color: var(--color-red); }
.text-dark { color: var(--color-dark); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
}

.btn-outline {
    background: white;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--color-dark);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
.header {
    padding: 20px 0;
    background: white;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
}

.logo-dot {
    color: var(--color-red);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 120px;
    background: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Card - CV Preview */
.hero-card {
    position: relative;
}

.cv-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    max-width: 480px;
    position: relative;
}

.cv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.ats-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-success);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.cv-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.cv-body {
    font-size: 14px;
}

.cv-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.cv-role {
    color: var(--color-gray);
    margin-bottom: 12px;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.cv-section {
    margin-bottom: 16px;
}

.cv-section h4 {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--color-gray);
    margin-bottom: 6px;
}

.cv-section p {
    font-size: 13px;
    color: var(--color-dark);
}

.cv-keywords {
    background: var(--color-primary);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.keywords-badge {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}

.keywords-text {
    font-size: 16px;
    font-weight: 700;
}

.cv-notification {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.notif-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    margin-right: 6px;
}

.notif-avatar + div strong {
    display: block;
    font-size: 14px;
}

.notif-avatar + div p {
    font-size: 12px;
    color: var(--color-gray);
}

/* ===== Problem Section ===== */
.problem-section {
    padding: 100px 0;
    background: var(--color-bg-problem);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.problem-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto 60px;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.problem-card:hover {
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #ffebeb;
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.problem-card p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ===== Steps Section ===== */
.steps-section {
    padding: 100px 0;
    background: white;
}

.steps-title {
    margin-bottom: 16px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 48px;
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: white;
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.step-item p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-gray-light) 0, var(--color-gray-light) 4px, transparent 4px, transparent 8px);
    margin-top: 48px;
}

.steps-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.pricing-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gray);
    margin-bottom: 12px;
}

.pricing-section .section-title {
    margin-bottom: 12px;
}

.pricing-section .section-subtitle {
    margin-bottom: 48px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid #e2e8f0;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--color-primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.tier {
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fafc;
}

.tier-highlight {
    background: var(--color-primary);
    color: white;
}

.tier-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.tier-desc {
    font-size: 12px;
    color: var(--color-gray);
}

.tier-highlight .tier-desc {
    color: rgba(255, 255, 255, 0.9);
}

.tier-badges {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}

.tier-badges span {
    font-size: 11px;
    background: var(--color-success);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
}

.tier-highlight .tier-badges span {
    background: rgba(255, 255, 255, 0.3);
}

.tier-price {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-dark);
}

.check {
    color: var(--color-success);
    font-weight: 700;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.faq-header .section-title {
    text-align: left;
    margin-bottom: 12px;
}

.faq-header p {
    color: var(--color-gray);
    font-size: 16px;
}

.faq-header a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: white;
    border: none;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-dark);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-gray);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    content: '−';
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-content p {
    color: var(--color-gray);
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-card {
        order: 2;
        justify-self: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0 auto;
        background: repeating-linear-gradient(180deg, var(--color-gray-light) 0, var(--color-gray-light) 4px, transparent 4px, transparent 8px);
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-header .section-title {
        text-align: center;
    }

    .faq-header p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cv-notification {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
}
