:root {
    --primary-color: #4A90E2;
    --primary-darker: #3a7ac8;
    --secondary-color: #50E3C2;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #34495e;
    --border-color: #ecf0f1;
    --body-font: 'Poppins', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    background-color: var(--light-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-darker);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 45px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.premium-banner {
    background: linear-gradient(135deg, var(--primary-color), #276ab3);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}
.premium-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.premium-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px auto;
}
.banner-cta {
    background: #fff;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.main-content {
    padding: 60px 0;
}

.cv-builder-wrapper {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 40px;
    align-items: flex-start;
}

.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.premium-tracker {
    background: linear-gradient(135deg, #f5f7fa, #eef2f7);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.premium-tracker h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.premium-tracker h3 .fa-star {
    color: #f1c40f;
}
.tracker-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-item span {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: block;
}
.stat-item strong {
    font-size: 1.5rem;
    color: var(--primary-darker);
    font-weight: 700;
}

.form-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.form-block {
    margin-bottom: 25px;
}

.form-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
}
.form-group-inline {
    margin: 15px 0;
}
.form-group-inline label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

#cv-form input,
#cv-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#cv-form input:focus,
#cv-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}
#photo-upload {
    font-size: 0.9rem;
}

.dynamic-block {
    border-left: 3px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 15px;
    background: #fdfdfd;
    border-radius: 0 5px 5px 0;
}

.add-btn {
    background: var(--dark-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}
.add-btn:hover {
    background: #4a637e;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background: var(--primary-darker);
    transform: translateY(-2px);
}
.cta-button .loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.preview-section {
    position: sticky;
    top: 100px;
}

#cv-preview {
    background: #fff;
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: 5px;
}

.cv-template-1 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding: 40px;
}
.cv-photo-container {
    text-align: center;
    margin-bottom: 20px;
}
#cv-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: var(--border-color);
}

.cv-header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.cv-header h1 {
    font-size: 2.2em;
    margin: 0;
    color: #333;
    font-weight: 700;
}
.cv-header p {
    font-size: 1em;
    color: #555;
    margin-top: 5px;
}
.cv-body {
    display: flex;
    gap: 30px;
}
.cv-main-content {
    flex-grow: 1;
}
.cv-sidebar {
    width: 200px;
    flex-shrink: 0;
}
.cv-section {
    margin-bottom: 20px;
}
.cv-section h2, .cv-section h3 {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}
.cv-sidebar h3 {
    font-size: 1em;
}
.cv-section p {
    font-size: 0.8em;
    line-height: 1.6;
}
.cv-item {
    margin-bottom: 15px;
}
.cv-item h4 {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
}
.cv-item span {
    font-size: 0.75em;
    color: #777;
    font-style: italic;
    display: block;
    margin: 2px 0;
}
.skills-list {
    list-style: none;
    padding: 0;
}
.skills-list li {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 0.8em;
}

.how-it-works, .testimonials, .faq-section {
    padding: 60px 0;
    background: #fff;
}
.testimonials {
    background: var(--light-color);
}
.steps-container, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step, .testimonial-card {
    text-align: center;
    padding: 30px;
}
.step-icon {
    font-size: 2.5rem;
    color: #fff;
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--dark-color);
}
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--dark-color);
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 10px 15px 10px;
}

.footer {
    background: var(--dark-color);
    color: #bdc3c7;
    padding: 50px 0 0;
}
.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
}
.footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.footer-col p, .footer-col ul li a {
    color: #bdc3c7;
    font-size: 0.9rem;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-col i {
    margin-right: 10px;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #4a4a4a;
}

.contact-form-wrapper {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dcdfe6;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    background-color: #fdfdfd;
}
#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}
#contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1001;
}

.ad-slot-container {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
}
.ad-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 5px;
    text-align: center;
}
.ad-box {
    background-color: #f0f0f0;
    border: 1px dashed #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    width: 300px;
    height: 250px;
}

.static-page-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.static-page-container h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}
.static-page-container h2 {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
}
.static-page-container p, .static-page-container ul, .static-page-container ol {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.static-page-container ul, .static-page-container ol {
    list-style-position: inside;
    padding-left: 15px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}
.comparison-table th {
    background-color: var(--light-color);
    font-weight: 600;
}
.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 1.2rem;
    flex-grow: 1;
}
.blog-content p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
}
.read-more {
    font-weight: 600;
    color: var(--primary-color);
    align-self: flex-start;
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}
.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}
.post-meta {
    display: flex;
    gap: 20px;
    color: #777;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.blog-post-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}
.blog-post p, .blog-post ul, .blog-post ol {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}
.blog-post h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.blog-post ul, .blog-post ol {
    list-style-position: inside;
    padding-left: 10px;
}
.blog-post ul li, .blog-post ol li {
    margin-bottom: 10px;
}
.seo-info-box {
    background: var(--light-color);
    padding: 20px;
    margin-top: 40px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}
.seo-info-box h3 {
    margin-bottom: 15px;
}
.verb-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .ad-box {
        width: 728px;
        height: 90px;
    }
}

@media (max-width: 992px) {
    .cv-builder-wrapper {
        grid-template-columns: 1fr;
    }
    .preview-section {
        position: static;
    }
    .steps-container, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 73px;
        left: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 15px;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li {
        margin: 15px 0;
    }
    .hamburger-menu {
        display: block;
    }
    .premium-banner h2 { font-size: 1.8rem; }
    .section-title, .static-page-container h1, .blog-post h1 { font-size: 1.8rem; }
}

/* Hide SEO Info Box from public view */
.seo-info-box {
    display: none;
}