/* =========================================================================
   PHAROLL - CREATORS PAGE STYLES (#66AA52 theme)
   ========================================================================= */

/* Hero Section */
.creators-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.creators-hero-content {
    flex: 1.2;
    max-width: 700px;
}

.creators-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.creators-hero-desc {
    font-size: 1.125rem;
    color: #4a4a4a;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.creators-btn {
    display: inline-block;
    background-color: #66AA52;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 170, 82, 0.3);
}

.creators-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 170, 82, 0.4);
    background-color: #559942;
}

/* Phone Mockup */
.creators-hero-image-wrapper {
    flex: 0.9;
    position: relative;
    z-index: 10;
    align-self: flex-end;
    margin-bottom: -4rem;
}

.creators-hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 150%;
    background: radial-gradient(circle, rgba(102, 170, 82, 0.5) 0%, rgba(102, 170, 82, 0.2) 40%, transparent 80%);
    filter: blur(100px);
    z-index: -1;
}

.hero-phone-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* 3 Steps Section */
.creators-steps {
    padding: 6rem 2rem;
    background: #ffffff;
    position: relative;
    z-index: 20;
}

.creators-steps-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #416835;
}

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

.creators-steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.creators-steps-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    text-align: left;
}

.step-icon {
    width: 48px;
    height: 48px;
    background-color: #E6F1E3;
    color: #66AA52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.creators-steps-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    object-fit: cover;
}

/* Features Section (Bento Grid) */
.creators-features {
    padding: 6rem 2rem;
    background: #eef4ed; /* Soft green, original state before mockup match */
}

.creators-features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #66AA52;
}

.creators-features-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 4rem;
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bento-icon {
    color: #66AA52;
    background: #f0f7ef;
    padding: 0.75rem;
    border-radius: 12px;
}

.bento-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
}

.bento-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Specific Bento Placements */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
}

.bento-visual {
    margin-top: 2rem;
    background: #f0f7ef;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-grow: 1;
}

/* Simple CSS Bar Chart */
.bar-chart {
    display: flex;
    gap: 1rem;
    height: 150px;
    align-items: flex-end;
    width: 100%;
    justify-content: center;
}

.bar {
    width: 40px;
    background-color: #66AA52;
    border-radius: 6px 6px 0 0;
    opacity: 0.8;
    transition: height 1s ease-out, opacity 0.3s;
}

.bar:hover {
    opacity: 1;
}

/* Dark Mode Overrides for Creators Page */
[data-theme="dark"] .creators-hero-title,
[data-theme="dark"] .step-content h3,
[data-theme="dark"] .bento-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .creators-steps-title,
[data-theme="dark"] .creators-features-title {
    color: #A8D1A3;
}

[data-theme="dark"] .creators-hero-desc,
[data-theme="dark"] .creators-features-subtitle,
[data-theme="dark"] .step-content p,
[data-theme="dark"] .bento-card p {
    color: var(--text-muted);
}

[data-theme="dark"] .creators-steps {
    background: var(--bg-color);
}

[data-theme="dark"] .creators-features {
    background: #0d140b;
}

[data-theme="dark"] .bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

[data-theme="dark"] .bento-visual {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .step-icon,
[data-theme="dark"] .bento-icon {
    background-color: rgba(102, 170, 82, 0.15);
    color: #A8D1A3;
}

[data-theme="dark"] .creators-steps-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

[data-theme="dark"] .creators-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .creators-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .creators-hero-content {
        max-width: 800px;
    }

    .creators-hero-image-wrapper {
        align-self: center;
        margin-top: 4rem;
        margin-bottom: -4rem;
    }

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

    .bento-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: span 1;
    }
}
