/*
Theme Name: HustleHub Child Theme
Theme URI: https://hustlehub.ca
Description: Custom child theme for HustleHub.ca with optimized benefits page styling. Works with GeneratePress theme.
Author: Cee jay
Author URI: https://www.linkedin.com/in/chandan-jairath-900249204/
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hustlehub-child
*/

/* ============================================
   HustleHub.ca - Child Theme Styles
   All custom styling for benefits page
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles - Blog option removed */
.site-header,
.custom-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    will-change: transform;
}

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

.site-logo,
.custom-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links,
.custom-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a,
.custom-nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    will-change: transform, background-color;
}

.nav-links a:hover,
.custom-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content Container */
.benefits-container,
.custom-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Article Header */
.article-header {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Author Section - Updated with LinkedIn link */
.author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.author-section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #20D2BB 0%, #17A2B8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.author-title {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    will-change: transform, color;
}

.author-title:hover {
    color: #0077B5;
    transform: translateX(5px);
}

.linkedin-icon {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

.author-title:hover .linkedin-icon {
    transform: scale(1.2);
}

/* AI Disclaimer */
.ai-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    padding: 1rem;
    background: #f1f3f5;
    border-left: 4px solid #20D2BB;
    border-radius: 5px;
    margin: 1.5rem 0;
}

/* Article Content */
.article-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-text {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Key Takeaways Section - Professional teal gradient hover */
.key-takeaways {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.key-takeaways::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #20D2BB 0%, #17A2B8 100%);
    transition: left 0.6s ease;
    z-index: 0;
    will-change: left;
}

.key-takeaways:hover::before {
    left: 0;
}

.key-takeaways * {
    position: relative;
    z-index: 1;
}

.key-takeaways:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(32, 210, 187, 0.4);
}

.key-takeaways h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.key-takeaways ul {
    list-style: none;
    padding-left: 0;
}

.key-takeaways li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.key-takeaways li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #20D2BB;
}

/* Mobile App Promotion Section */
.app-promotion {
    background: linear-gradient(135deg, #20D2BB 0%, #17A2B8 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    color: white;
    text-align: center;
    box-shadow: 0 5px 20px rgba(32, 210, 187, 0.3);
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.app-promotion:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(32, 210, 187, 0.4);
}

.app-promotion h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.app-promotion p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: #17A2B8;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    will-change: transform, box-shadow;
}

.app-store-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.coming-soon-badge {
    background: #ffc107;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
}

/* CTA Buttons with hover effects */
.cta-container {
    margin: 2rem 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin: 1rem 0.5rem 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    will-change: transform, box-shadow;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #667eea;
    margin: 1rem 0.5rem 1rem 0;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.secondary-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Content Sections */
.content-heading {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-text {
    margin-bottom: 1rem;
}

.cta-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.cta-box-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-box-text {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links,
    .custom-nav-links {
        gap: 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .author-section {
        flex-direction: column;
        text-align: center;
    }

    .app-stores {
        flex-direction: column;
        align-items: center;
    }

    .app-store-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .cta-button,
    .secondary-button {
        display: block;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .benefits-container,
    .custom-container {
        padding: 0 1rem;
    }

    .article-header,
    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }
}

/* WordPress Specific */
.wp-block-post-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 2rem;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    will-change: transform, box-shadow;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(32, 210, 187, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-link {
    color: #20D2BB;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.benefit-link:hover {
    color: #17A2B8;
    transform: translateX(5px);
    display: inline-block;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.article-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.article-card-title {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.article-card-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Author Bio */
.author-bio {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Homepage Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .stats-section {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* Homepage Wrapper */
.homepage-wrapper {
    background: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(32, 210, 187, 0.2) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 2rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #20D2BB;
    box-shadow: 0 10px 30px rgba(32, 210, 187, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* App Promotion Section */
.app-promotion-section {
    padding: 5rem 2rem;
    background: white;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.author-bio {
    color: #666;
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box-large {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-box-large .cta-box-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-box-large .cta-box-text {
    font-size: 1.2rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Section */
.trust-section {
    padding: 3rem 2rem;
    background: white;
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.trust-icon {
    font-size: 1.5rem;
    color: #20D2BB;
}

.trust-text {
    font-size: 1rem;
}

/* Responsive Styles for Homepage */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

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

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

    .cta-box-large .cta-box-title {
        font-size: 1.8rem;
    }

    .trust-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 2rem;
    }
}
