@import '../theme/variables.css';
@import '../base/reset.css';
@import '../base/typography.css';
@import '../base/layout.css';
@import '../base/components.css';

/* =================================
   Guide Hub Page Styles
   ================================= */

/* Main Container */
.guide-hub-page {
    min-height: 100vh;
    background-color: var(--color-background-light);
    padding: 40px 0;
}

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

/* Page Header */
.guide-hub-page h1 {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Intro Section */
.guide-intro {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px var(--color-shadow-light);
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.guide-intro p {
    color: var(--color-gray-light);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

.guide-intro p:last-child {
    margin-bottom: 0;
}

/* Guide Selection */
.guide-selection {
    margin-bottom: 60px;
}

.guide-choice-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-choice-item {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--color-shadow);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guide-choice-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--color-shadow-darker);
}

.guide-choice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.career-guide::before {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.freelance-guide::before {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8800 100%);
}

/* Choice Icon */
.choice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--color-primary-shadow);
}

.freelance-guide .choice-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8800 100%);
    box-shadow: 0 4px 15px var(--color-accent-shadow);
}

.choice-icon img {
    width: 40px;
    height: 40px;
}

/* Choice Header */
.guide-choice-item h2 {
    font-size: 26px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.choice-description {
    color: var(--color-text-light);
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Choice Highlights */
.choice-highlights {
    background-color: var(--color-background-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.choice-highlights h3 {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.choice-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.choice-highlights ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-gray-light);
    line-height: 1.6;
}

.choice-highlights ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 16px;
}

/* Choice Features */
.choice-features {
    margin-bottom: 30px;
}

.choice-features h3 {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.choice-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.choice-features ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-gray-light);
    line-height: 1.6;
}

.choice-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 16px;
}

/* Choice Stats */
.choice-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    background-color: var(--color-background-light);
    padding: 20px;
    border-radius: 12px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.freelance-guide .stat-number {
    color: var(--color-accent);
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Guide Select Button */
.btn-guide-select {
    display: block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 18px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 15px var(--color-primary-shadow);
}

.freelance-guide .btn-guide-select {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8800 100%);
    box-shadow: 0 4px 15px var(--color-accent-shadow);
}

.btn-guide-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--color-primary-shadow-dark);
    color: var(--color-white);
    text-decoration: none;
}

.freelance-guide .btn-guide-select:hover {
    box-shadow: 0 8px 20px var(--color-accent-shadow-dark);
}

/* Comparison Section */
.comparison-section {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px var(--color-shadow-light);
    border: 1px solid var(--color-border-light);
}

.comparison-section h2 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.comparison-table th {
    color: var(--color-white);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.comparison-table th:first-child {
    background: linear-gradient(135deg, var(--color-text-light) 0%, #777 100%);
    border-radius: 8px 0 0 0;
}

.comparison-table th:nth-child(2) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.comparison-table th:last-child {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8800 100%);
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: top;
    line-height: 1.6;
}

.comparison-table td:first-child {
    background-color: var(--color-background-light);
    font-weight: 500;
    width: 150px;
}

.comparison-table td strong {
    color: var(--color-text);
}

.comparison-table tbody tr:hover {
    background-color: var(--color-background-light);
}

/* Success Stories */
.success-stories {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px var(--color-shadow-light);
    border: 1px solid var(--color-border-light);
}

.success-stories h2 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.story-item {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.story-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--color-shadow);
}

.story-item:nth-child(2) {
    border-left-color: var(--color-accent);
}

.story-item h3 {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 10px;
    font-weight: bold;
}

.story-result {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.story-item:nth-child(2) .story-result {
    color: var(--color-accent);
}

.story-item p {
    color: var(--color-gray-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.story-item p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

/* Author Section */
.author-section {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px var(--color-shadow-light);
    border: 1px solid var(--color-border-light);
}

.author-section h2 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 15px var(--color-primary-shadow);
}

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

.author-info h3 {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 5px;
    font-weight: bold;
}

.author-title {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.author-description {
    color: var(--color-gray-light);
    line-height: 1.8;
    margin: 0;
}

/* Related Links */
.related-links {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px var(--color-shadow-light);
    border: 1px solid var(--color-border-light);
}

.related-links h3 {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 25px;
    font-weight: bold;
}

.related-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.related-buttons a {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 12px var(--color-accent-shadow);
}

.related-buttons a:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--color-accent-shadow-dark);
    color: var(--color-white);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .guide-choice-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-hub-page h1 {
        font-size: 28px;
    }
    
    .guide-choice-item {
        padding: 30px;
    }
    
    .guide-choice-item h2 {
        font-size: 24px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .author-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .choice-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .comparison-section,
    .success-stories,
    .author-section {
        padding: 30px;
    }
    
    .related-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .related-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .guide-hub-page {
        padding: 20px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .guide-hub-page h1 {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .guide-choice-item {
        padding: 25px;
    }
    
    .guide-choice-item h2 {
        font-size: 22px;
    }
    
    .choice-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .choice-icon img {
        width: 30px;
        height: 30px;
    }
    
    .btn-guide-select {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .comparison-section,
    .success-stories,
    .author-section,
    .related-links {
        padding: 25px;
    }
    
    .comparison-section h2,
    .success-stories h2,
    .author-section h2 {
        font-size: 24px;
    }
    
    .author-avatar {
        width: 100px;
        height: 100px;
    }
    
    .author-info h3 {
        font-size: 20px;
    }
    
    .comparison-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .comparison-table th {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}