/* Base Styles */
:root {
    --primary: #2a5bd7;
    --primary-light: #4d7cff;
    --primary-dark: #1a439c;
    --secondary: #e63946;
    --accent: #ff9e00;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #e9ecef;
    --border: #dee2e6;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 91, 215, 0.3);
}

.btn-primary .btn-arrow {
    margin-left: 10px;
    transition: var(--transition);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(42, 91, 215, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 24px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.logo span {
    color: var(--primary);
}

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

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%232a5bd7" fill-opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(42, 91, 215, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    position: relative;
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -12px;
    font-size: 1.2rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resume-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.resume-paper {
    background-color: white;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

.resume-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.resume-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    margin-right: 20px;
}

.resume-name .name-line {
    height: 12px;
    background-color: var(--bg-dark);
    margin-bottom: 8px;
    border-radius: 4px;
}

.resume-name .name-line:first-child {
    width: 120px;
}

.resume-name .name-line:last-child {
    width: 80px;
}

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

.resume-section .section-line {
    height: 8px;
    background-color: var(--bg-dark);
    margin-bottom: 6px;
    border-radius: 4px;
}

.resume-section .section-line:first-child {
    width: 60px;
    margin-bottom: 12px;
}

.resume-section .section-line:nth-child(2) {
    width: 100%;
}

.resume-section .section-line:nth-child(3) {
    width: 80%;
}

.resume-shadow {
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 95%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.05);
    filter: blur(10px);
    border-radius: 50%;
    z-index: 1;
}

.ai-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(42, 91, 215, 0.3);
    z-index: 3;
}

.ai-badge i {
    margin-right: 5px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-light);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    width: 250px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(42, 91, 215, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.step-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-lighter);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.feature-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover .feature-decoration {
    transform: scaleX(1);
}

/* Samples Section */
.samples-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.sample-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.sample-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.sample-tab.active {
    color: var(--primary);
}

.sample-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.sample-content {
    display: none;
    padding: 40px;
}

.sample-content.active {
    display: flex;
    gap: 40px;
}

.sample-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.sample-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sample-details {
    flex: 1;
}

.sample-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.sample-features {
    list-style: none;
    margin-bottom: 30px;
}

.sample-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.sample-features i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 100%;
    scroll-snap-align: start;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.testimonial-quote {
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote i {
    font-size: 2rem;
    color: rgba(42, 91, 215, 0.1);
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 0;
}

.testimonial-quote p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.author-rating {
    color: var(--accent);
}

.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonials-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

/* Demo Section */
.demo-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-top: 50px;
}

.demo-input {
    margin-bottom: 30px;
}

.demo-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
}

.demo-input input {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.demo-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.1);
}

.resume-output {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

.resume-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.resume-output-header h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.copy-btn i {
    margin-right: 5px;
}

.copy-btn:hover {
    color: var(--primary-dark);
}

.resume-output-content {
    padding: 30px;
    min-height: 200px;
}

.resume-output-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.placeholder {
    color: var(--text-lighter);
    font-style: italic;
}

.typing {
    border-right: 2px solid var(--primary);
    animation: blink 1s step-end infinite;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
}

.footer-tagline {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
}

.links-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

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

.links-column li {
    margin-bottom: 10px;
}

.links-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.links-column a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #e68a00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: rotate(-5deg) translateY(0);
    }
    50% {
        transform: rotate(-5deg) translateY(-10px);
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-image {
        position: relative;
        width: 100%;
        transform: none;
        margin-top: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .sample-content.active {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-link {
        margin-left: 0;
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}