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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #FFFFFF;
    color: #1F2937;
    line-height: 1.6;
}

/* Header Styles */
.main-header {
    background: #0F172A;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1A73E8;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1A73E8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1A73E8 0%, #10B981 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    background: #10B981;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* CV Builder Section */
.cv-builder-section {
    background: #F9FAFB;
    padding: 4rem 0;
}

.app-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Progress Bar */
.progress-container {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1A73E8, #10B981);
    width: 16.67%;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.step.active {
    background: #1A73E8;
    color: white;
}

.step.completed {
    background: #10B981;
    color: white;
}

/* Form Container */
.form-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.form-step {
    display: none;
    animation: slideIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h2 {
    margin-bottom: 25px;
    color: #1F2937;
    font-size: 24px;
    text-align: center;
}

/* Input Styles */
.input-group {
    margin-bottom: 20px;
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1A73E8;
    background: white;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Image Upload Styles */
.image-upload-container {
    text-align: center;
    margin-bottom: 20px;
}

.image-upload-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #1F2937;
}

.image-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.image-preview:hover {
    border-color: #1A73E8;
}

.image-placeholder {
    text-align: center;
    color: #666;
}

.image-placeholder p {
    margin-top: 8px;
    font-size: 14px;
}

#uploadedImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.image-btn {
    padding: 8px 16px;
    border: 1px solid #1A73E8;
    background: white;
    color: #1A73E8;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.image-btn:hover {
    background: #1A73E8;
    color: white;
}

.image-btn.remove {
    border-color: #f44336;
    color: #f44336;
}

.image-btn.remove:hover {
    background: #f44336;
    color: white;
}

/* Professional Summary */
.field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1F2937;
}

.summary-container {
    position: relative;
}

.summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.character-counter {
    font-size: 12px;
    color: #666;
}

.ai-btn {
    background: linear-gradient(135deg, #1A73E8, #10B981);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Work Experience */
.work-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.work-item h4 {
    margin-bottom: 15px;
    color: #1A73E8;
}

.date-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
}

.add-btn {
    width: 100%;
    padding: 15px;
    background: #1A73E8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.add-btn:hover {
    background: #1557b0;
}

/* Skills */
.skill-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.skill-input-container input {
    flex: 2;
    min-width: 150px;
}

.skill-input-container select {
    flex: 1;
    min-width: 120px;
}

.skill-input-container button {
    background: #1A73E8;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    min-width: 80px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #1A73E8;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    position: relative;
    padding-right: 35px;
}

.skill-remove {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}

/* Template Selection */
.template-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.template-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.template-card.active {
    border-color: #1A73E8;
    background: #f0f4ff;
}

.template-preview {
    width: 100%;
    height: 120px;
    border-radius: 4px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e0e0e0;
    position: relative;
}

/* Template Preview Designs */
.corporate-preview {
    background: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 35%, #ffffff 35%, #ffffff 100%);
    border-left: 4px solid #2a5bd7;
}

.corporate-preview::after {
    content: '';
    position: absolute;
    left: 35%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #dee2e6;
}

.executive-preview {
    background: linear-gradient(to bottom, #0d6efd 0%, #0d6efd 25%, #ffffff 25%, #ffffff 100%);
}

.executive-preview::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #0d6efd;
}

.artistic-preview {
    background: #ffffff;
    border-left: 8px solid #1a73e8;
}

.artistic-preview::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: repeating-linear-gradient(to right, transparent, transparent 4px, #e0e0e0 4px, #e0e0e0 8px);
}

.modern-preview {
    background: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.modern-preview::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 30%;
    bottom: 30%;
    width: 3px;
    background: #ff6b6b;
}

.professional-preview {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 30%, #f8f9fa 30%, #f8f9fa 100%);
}

.professional-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 0.5px;
    background: #adb5bd;
}

.sales-preview {
    background: #ffffff;
    border-top: 4px solid #d63384;
}

.sales-preview::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 30%;
    height: 15%;
    background: #fff0f6;
    border-radius: 2px;
}

.neon-preview {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #00f5a0;
    position: relative;
}

.neon-preview::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.5);
}

.neon-preview::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
}

.airbnb-preview {
    background: #ffffff;
    border: 1px solid #ebebeb;
    position: relative;
}

.airbnb-preview::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 25%;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.airbnb-preview::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    height: 25%;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

/* Resume Preview Base */
.resume-preview {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 400px;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
}

.resume-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.resume-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Template-specific profile image positioning */
.corporate-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in left sidebar */
}

.executive-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in header */
}

.artistic-template .resume-profile-image {
    margin: 0 0 15px 0; /* Left-aligned */
}

.modern-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in header */
}

.professional-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in header */
}

.sales-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in header */
}

.neon-template .neon-profile-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    padding: 2px;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.5);
}

.airbnb-template .resume-profile-image {
    margin: 0 auto 15px; /* Centered in sidebar */
}

/* ① Corporate Classic Template */
.resume-preview.corporate-template {
    font-family: 'Roboto', Arial, sans-serif;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 20px;
    padding: 0;
    min-height: 600px;
}

.corporate-template .resume-left {
    background: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #dee2e6;
}

.corporate-template .resume-right {
    padding: 20px;
}

.corporate-template .resume-name {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: bold;
    font-size: 24pt;
    color: #2a5bd7;
    margin-bottom: 5px;
}

.corporate-template .resume-contact {
    color: #6c757d;
    font-size: 11pt;
    margin-bottom: 3px;
}

.corporate-template h3 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 14pt;
    color: #2a5bd7;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.corporate-template .entry-title {
    font-weight: bold;
    font-size: 11pt;
    color: #212529;
}

.corporate-template .entry-company {
    color: #6c757d;
    font-style: italic;
    font-size: 11pt;
}

/* ② Executive Blue Template */
.resume-preview.executive-template {
    font-family: 'Lato', Arial, sans-serif;
    text-align: center;
}

.executive-template .resume-header {
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.executive-template .resume-name {
    font-family: 'Playfair Display', serif;
    font-size: 28pt;
    color: #0d6efd;
    margin-bottom: 10px;
}

.executive-template .job-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16pt;
    color: #212529;
    margin-bottom: 15px;
}

.executive-template h3 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: bold;
    font-size: 14pt;
    color: #0d6efd;
    text-align: left;
    border-bottom: 1px solid #0d6efd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.executive-template .skill-item {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 2px;
    font-size: 10pt;
}

/* ③ Artistic Minimalist Template */
.resume-preview.artistic-template {
    font-family: 'Open Sans', Arial, sans-serif;
    border-left: 8px solid #1a73e8;
    padding-left: 30px;
}

.artistic-template .resume-name {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 36pt;
    color: #1a73e8;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.artistic-template h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    font-size: 14pt;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px dashed #e0e0e0;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.artistic-template .work-entry {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.artistic-template .entry-title {
    font-weight: bold;
    font-size: 12pt;
    color: #333;
}

/* ④ Modern Bold Template */
.resume-preview.modern-template {
    font-family: 'Inter', Arial, sans-serif;
}

.modern-template .resume-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.modern-template .resume-name {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 32pt;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.modern-template h3 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 16pt;
    color: #000000;
    margin-bottom: 15px;
}

.modern-template .resume-section {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.modern-template .work-entry {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #ff6b6b;
    margin-bottom: 20px;
}

.modern-template .work-entry::before {
    content: '•';
    position: absolute;
    left: -8px;
    top: 0;
    background: #ff6b6b;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8pt;
}

/* ⑤ Professional Light Template */
.resume-preview.professional-template {
    font-family: 'Segoe UI', Arial, sans-serif;
}

.professional-template .resume-name {
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: 300;
    font-size: 22pt;
    color: #495057;
    margin-bottom: 15px;
}

.professional-template h3 {
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: bold;
    font-size: 12pt;
    color: #495057;
    border-bottom: 0.5px solid #e9ecef;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.professional-template .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.professional-template .skill-item {
    background: #f8f9fa;
    color: #495057;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 10pt;
    text-align: center;
    border: 1px solid #adb5bd;
}

.professional-template .work-entry {
    border-bottom: 0.5px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

/* ⑥ Sales Focused Template */
.resume-preview.sales-template {
    font-family: 'Arial', sans-serif;
    border-top: 4px solid #d63384;
}

.sales-template .resume-name {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 20pt;
    color: #343a40;
    margin-bottom: 15px;
}

.sales-template h3 {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 14pt;
    color: #343a40;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sales-template .achievement-box {
    background: #fff0f6;
    border-left: 4px solid #d63384;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.sales-template .achievement-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 10.5pt;
    color: #d63384;
}

.sales-template .about-me {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    color: #343a40;
}

/* ⑦ Neon Futurist Template */
.resume-preview.neon-template {
    font-family: 'Exo 2', Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 20px;
    padding: 0;
    min-height: 600px;
    border: 1px solid #00f5a0;
}

.neon-template .neon-sidebar {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 20px;
    border-right: 1px solid #00f5a0;
    position: relative;
}

.neon-template .neon-content {
    padding: 20px;
}

.neon-template .resume-name {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    font-size: 22pt;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 245, 160, 0.3);
}

.neon-template .neon-profile-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    padding: 2px;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.5);
}

.neon-template .neon-profile-glow img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.neon-template h3 {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    font-size: 14pt;
    color: #00f5a0;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.neon-template h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #00f5a0, transparent);
}

.neon-template .neon-skill-bar {
    background: #1a1a1a;
    height: 8px;
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid #333;
}

.neon-template .neon-skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.3);
}

.neon-template .tech-tag {
    display: inline-block;
    background: rgba(0, 245, 160, 0.1);
    color: #00f5a0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10pt;
    margin: 2px;
    border: 1px solid rgba(0, 245, 160, 0.3);
    font-family: 'Fira Code', monospace;
}

.neon-template .work-entry {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.neon-template .work-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
}

.neon-template .entry-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 12pt;
}

.neon-template .entry-company {
    color: #00d9f5;
    font-style: italic;
}

/* ⑧ Airbnb Minimal Template */
.resume-preview.airbnb-template {
    font-family: 'Inter', Arial, sans-serif;
    background: #ffffff;
    color: #222222;
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 30px;
    padding: 0;
    min-height: 600px;
}

.airbnb-template .airbnb-sidebar {
    background: #fafafa;
    padding: 25px 20px;
    border-right: 1px solid #ebebeb;
}

.airbnb-template .airbnb-content {
    padding: 25px 20px;
}

.airbnb-template .resume-name {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 24pt;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.2;
}

.airbnb-template .job-subtitle {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 14pt;
    color: #767676;
    margin-bottom: 20px;
}

.airbnb-template h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 14pt;
    color: #222222;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebebeb;
}

.airbnb-template .card-section {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.airbnb-template .timeline-connector {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.airbnb-template .timeline-connector::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: -15px;
    width: 2px;
    background: #ebebeb;
}

.airbnb-template .timeline-connector::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5a5f;
}

.airbnb-template .proficiency-bar {
    background: #f0f0f0;
    height: 6px;
    border-radius: 3px;
    margin: 8px 0;
    overflow: hidden;
}

.airbnb-template .proficiency-fill {
    height: 100%;
    background: #ff5a5f;
    border-radius: 3px;
}

.airbnb-template .endorsement-bubble {
    background: #fff5f5;
    border: 1px solid #ff5a5f;
    color: #ff5a5f;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 10pt;
    display: inline-block;
    margin: 4px 2px;
}

.airbnb-template .entry-title {
    font-weight: 600;
    color: #222222;
    font-size: 12pt;
}

.airbnb-template .entry-company {
    color: #767676;
    font-weight: 500;
}

.airbnb-template .entry-dates {
    color: #767676;
    font-size: 11pt;
}

.airbnb-template .contact-item {
    margin-bottom: 8px;
    font-size: 11pt;
    color: #767676;
}

/* Common Elements */
.resume-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.resume-contact {
    margin-bottom: 5px;
}

.resume-section {
    margin-bottom: 25px;
}

.work-entry, .education-entry {
    margin-bottom: 20px;
}

.entry-title {
    font-weight: bold;
    color: #333;
}

.entry-company {
    font-style: italic;
}

.entry-dates {
    font-size: 12px;
    color: #666;
}

.entry-description {
    margin-top: 8px;
    color: #555;
}

.summary-text {
    line-height: 1.5;
    color: #555;
}

.download-btn {
    width: 100%;
    padding: 20px;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #059669;
}

/* Navigation */
.navigation {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background: white;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
}

.nav-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.nav-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

#backBtn:not(:disabled) {
    background: #f0f0f0;
    color: #333;
}

#nextBtn:not(:disabled) {
    background: #1A73E8;
    color: white;
}

#nextBtn:not(:disabled):hover {
    background: #1557b0;
}

/* Features Section */
.features-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1F2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #10B981;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1F2937;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* Perfect For Section */
.perfect-for-section {
    background: #F9FAFB;
    padding: 4rem 0;
}

.target-users {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.user-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.check-mark {
    color: #10B981;
    font-size: 1.5rem;
    font-weight: bold;
}

.user-item span:last-child {
    font-weight: 500;
    color: #1F2937;
}

/* How It Works Section */
.how-it-works-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A73E8, #10B981);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1F2937;
}

.step-item p {
    color: #6B7280;
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: #0F172A;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #1A73E8;
}

.copyright {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* PDF Export Optimizations - Maintain original appearance */
.resume-preview.pdf-export-optimize {
    width: 794px !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transform: none !important;
    position: static !important;
    min-height: 1100px !important;
}

/* Preserve template-specific profile image positioning in PDF */
.pdf-export-optimize.corporate-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in sidebar */
}

.pdf-export-optimize.executive-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in header */
}

.pdf-export-optimize.artistic-template .resume-profile-image {
    margin: 0 0 15px 0 !important; /* Maintain left-aligned */
}

.pdf-export-optimize.modern-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in header */
}

.pdf-export-optimize.professional-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in header */
}

.pdf-export-optimize.sales-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in header */
}

.pdf-export-optimize.neon-template .neon-profile-glow {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    margin: 0 auto 15px !important;
    background: linear-gradient(45deg, #00f5a0, #00d9f5) !important;
    padding: 2px !important;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.5) !important;
}

.pdf-export-optimize.airbnb-template .resume-profile-image {
    margin: 0 auto 15px !important; /* Maintain centered in sidebar */
}

/* Preserve highlights and styling in PDF */
.resume-preview.pdf-export .entry-title,
.resume-preview.pdf-export .resume-name,
.resume-preview.pdf-export h3 {
    color: inherit !important;
    text-decoration: inherit !important;
    border-bottom: inherit !important;
    background: inherit !important;
}

/* Corporate template PDF adjustments */
.resume-preview.pdf-export.corporate-template {
    display: grid !important;
    grid-template-columns: 35% 65% !important;
    gap: 15px !important;
}

.resume-preview.pdf-export.corporate-template .resume-left {
    background: #f8f9fa !important;
    padding: 15px !important;
}

.resume-preview.pdf-export.corporate-template .resume-right {
    padding: 15px !important;
}

/* Executive template PDF adjustments */
.resume-preview.pdf-export.executive-template .resume-header {
    border-bottom: 2px solid #0d6efd !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
}

/* Artistic template PDF adjustments */
.resume-preview.pdf-export.artistic-template {
    border-left: 8px solid #1a73e8 !important;
    padding-left: 25px !important;
}

/* Modern template PDF adjustments */
.resume-preview.pdf-export.modern-template .resume-section {
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
}

.resume-preview.pdf-export.modern-template .work-entry {
    border-left: 3px solid #ff6b6b !important;
    padding-left: 15px !important;
}

/* Sales template PDF adjustments */
.resume-preview.pdf-export.sales-template {
    border-top: 4px solid #d63384 !important;
}

.resume-preview.pdf-export.sales-template .achievement-box {
    background: #fff0f6 !important;
    border-left: 4px solid #d63384 !important;
    padding: 8px 12px !important;
    margin: 8px 0 !important;
}

/* Neon template PDF adjustments */
.resume-preview.pdf-export.neon-template {
    background: #0a0a0a !important;
    color: #e0e0e0 !important;
    border: 1px solid #00f5a0 !important;
    display: grid !important;
    grid-template-columns: 30% 70% !important;
    gap: 20px !important;
}

.resume-preview.pdf-export.neon-template .neon-sidebar {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%) !important;
    border-right: 1px solid #00f5a0 !important;
}

.resume-preview.pdf-export.neon-template .neon-skill-bar {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
}

.resume-preview.pdf-export.neon-template .neon-skill-fill {
    background: linear-gradient(90deg, #00f5a0, #00d9f5) !important;
}

.resume-preview.pdf-export.neon-template .tech-tag {
    background: rgba(0, 245, 160, 0.1) !important;
    color: #00f5a0 !important;
    border: 1px solid rgba(0, 245, 160, 0.3) !important;
}

/* Airbnb template PDF adjustments */
.resume-preview.pdf-export.airbnb-template {
    display: grid !important;
    grid-template-columns: 25% 75% !important;
    gap: 30px !important;
}

.resume-preview.pdf-export.airbnb-template .airbnb-sidebar {
    background: #fafafa !important;
    border-right: 1px solid #ebebeb !important;
}

.resume-preview.pdf-export.airbnb-template .card-section {
    background: #ffffff !important;
    border: 1px solid #ebebeb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.resume-preview.pdf-export.airbnb-template .timeline-connector::before {
    background: #ebebeb !important;
}

.resume-preview.pdf-export.airbnb-template .timeline-connector::after {
    background: #ff5a5f !important;
}

.resume-preview.pdf-export.airbnb-template .proficiency-fill {
    background: #ff5a5f !important;
}

.resume-preview.pdf-export.airbnb-template .endorsement-bubble {
    background: #fff5f5 !important;
    border: 1px solid #ff5a5f !important;
    color: #ff5a5f !important;
}

/* Ensure all colors and borders are preserved */
.resume-preview.pdf-export * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .main-nav {
        gap: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .target-users {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .app-container {
        margin: 0 1rem;
        border-radius: 8px;
    }

    .export-container {
        overflow-x: auto;
    }

    .resume-preview {
        min-width: 600px;
        width: 600px;
        transform-origin: top left;
        transform: scale(0.85);
        margin-bottom: 40px;
    }

    .skill-input-container {
        flex-direction: column;
    }

    .date-container {
        grid-template-columns: 1fr;
    }

    /* Touch-friendly buttons */
    .nav-btn, .add-btn, .download-btn, .cta-button {
        min-height: 48px;
        font-size: 16px;
    }

    /* Prevent zoom on inputs */
    input, textarea, select {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .export-container {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 20px;
        align-items: start;
    }

    .download-btn {
        width: auto;
        min-width: 200px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .main-header,
    .hero-section,
    .features-section,
    .perfect-for-section,
    .how-it-works-section,
    .main-footer,
    .progress-container,
    .navigation {
        display: none;
    }

    .resume-preview {
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
}
