/* =========================================
   #TenantPoweredChallenge — Campaign Styles
   All selectors prefixed with tpc-
   ========================================= */

:root {
    --tpc-green: #22c55e;
    --tpc-green-dark: #16a34a;
    --tpc-green-light: #dcfce7;
    --tpc-dark: #0f172a;
    --tpc-dark-card: #1e293b;
    --tpc-text: #1e293b;
    --tpc-text-light: #64748b;
    --tpc-text-muted: #94a3b8;
    --tpc-bg: #ffffff;
    --tpc-bg-light: #f8fafc;
    --tpc-bg-accent: #f0fdf4;
    --tpc-border: #e2e8f0;
    --tpc-gold: #f59e0b;
    --tpc-silver: #94a3b8;
    --tpc-bronze: #d97706;

    --aptosRegular: 'aptosRegular'
}

/* Reset & Base */
.tpc-hero, .tpc-section, .tpc-footer,
.tpc-hero *, .tpc-section *, .tpc-footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--aptosRegular);
    color: var(--tpc-text);
    line-height: 1.6;
    margin: 0;
}

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

/* ===== HERO ===== */
.tpc-hero {
    position: relative;
    background: linear-gradient(135deg, var(--tpc-dark) 0%, #1a3a2a 50%, var(--tpc-green-dark) 100%);
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.tpc-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.tpc-hero-content {
    position: relative;
    z-index: 1;
}

.tpc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.tpc-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--tpc-green);
    border-radius: 50%;
    animation: tpc-pulse 2s infinite;
}

@keyframes tpc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.tpc-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.tpc-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto 32px;
    font-weight: 400;
}

.tpc-hero-prize {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 16px 40px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.tpc-prize-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tpc-green);
    font-weight: 600;
}

.tpc-prize-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.tpc-hero-platform {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-top: 24px;
}

/* ===== BUTTONS ===== */
.tpc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tpc-btn-primary {
    background: var(--tpc-green);
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
}
.tpc-btn-primary:hover {
    background: var(--tpc-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.tpc-btn-white {
    background: #fff;
    color: var(--tpc-dark);
    padding: 14px 32px;
    font-size: 16px;
}
.tpc-btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tpc-btn-lg {
    padding: 16px 40px;
    font-size: 17px;
    border-radius: 14px;
}

/* ===== SECTIONS ===== */
.tpc-section {
    padding: 80px 0;
}

.tpc-section-light {
    background: var(--tpc-bg);
}

.tpc-section-dark {
    background: var(--tpc-dark);
}

.tpc-section-accent {
    background: linear-gradient(135deg, var(--tpc-green) 0%, var(--tpc-green-dark) 100%);
}

.tpc-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--tpc-text);
}

.tpc-title-light {
    color: #fff;
}

.tpc-section-intro {
    text-align: center;
    color: var(--tpc-text-light);
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 17px;
}

.tpc-section-text {
    color: var(--tpc-text-light);
    margin-bottom: 16px;
}

.tpc-subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--tpc-text);
}

/* ===== MODEL GRID ===== */
.tpc-model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tpc-model-card {
    background: var(--tpc-bg-light);
    border: 1px solid var(--tpc-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tpc-model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.tpc-model-card-highlight {
    background: var(--tpc-green-light);
    border-color: var(--tpc-green);
}

.tpc-model-step {
    width: 48px;
    height: 48px;
    background: var(--tpc-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 16px;
}

.tpc-model-card-highlight .tpc-model-step {
    background: transparent;
    font-size: 28px;
}

.tpc-model-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tpc-model-text {
    font-size: 14px;
    color: var(--tpc-text-light);
    line-height: 1.5;
}

/* ===== BONUS BOX ===== */
.tpc-bonus-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, var(--tpc-green-light), #ecfdf5);
    border: 1px solid var(--tpc-green);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
}

.tpc-bonus-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.tpc-bonus-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--tpc-green-dark);
}

.tpc-bonus-text {
    font-size: 15px;
    color: var(--tpc-text-light);
}

/* ===== TAGS ===== */
.tpc-who-can-list {
    text-align: center;
}

.tpc-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tpc-tag {
    background: var(--tpc-bg-light);
    border: 1px solid var(--tpc-border);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tpc-text);
}

/* ===== DIFF GRID ===== */
.tpc-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tpc-diff-card {
    background: var(--tpc-dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s;
}
.tpc-diff-card:hover {
    transform: translateY(-4px);
}

.tpc-diff-card-featured {
    border-color: var(--tpc-green);
    background: linear-gradient(135deg, var(--tpc-dark-card), rgba(34, 197, 94, 0.1));
}

.tpc-diff-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.tpc-diff-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tpc-diff-text {
    font-size: 15px;
    color: var(--tpc-text-muted);
    line-height: 1.6;
}

/* ===== CHALLENGE STEPS ===== */
.tpc-challenge-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.tpc-challenge-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--tpc-bg-light);
    border: 1px solid var(--tpc-border);
    border-radius: 14px;
    padding: 24px;
}

.tpc-challenge-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tpc-green);
    flex-shrink: 0;
    line-height: 1;
}

.tpc-challenge-step p {
    font-size: 15px;
    color: var(--tpc-text-light);
}

/* ===== SOCIALS ===== */
.tpc-socials-box {
    background: var(--tpc-bg-light);
    border: 1px solid var(--tpc-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.tpc-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tpc-social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--tpc-border);
    border-radius: 100px;
    padding: 10px 20px;
}

.tpc-social-platform {
    font-size: 13px;
    color: var(--tpc-text-muted);
    font-weight: 500;
}

.tpc-social-handle {
    font-size: 14px;
    font-weight: 600;
    color: var(--tpc-text);
}

/* ===== JOIN STEPS ===== */
.tpc-join-steps {
    max-width: 680px;
    margin: 40px auto;
}

.tpc-join-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.tpc-join-step:last-child {
    border-bottom: none;
}

.tpc-join-num {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-size: 16px;
}

.tpc-join-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.tpc-join-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.tpc-cta-center {
    text-align: center;
    margin-top: 16px;
}

/* ===== CONTENT IDEAS ===== */
.tpc-content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
}

.tpc-check-list {
    list-style: none;
    padding: 0;
}
.tpc-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--tpc-text-light);
}
.tpc-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tpc-green);
    font-weight: 700;
}

.tpc-idea-list {
    list-style: none;
    padding: 0;
}
.tpc-idea-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--tpc-text-light);
}

.tpc-idea-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.tpc-content-note {
    background: var(--tpc-green-light);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    color: var(--tpc-green-dark);
    margin-top: 20px;
}

/* ===== SCORING ===== */
.tpc-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tpc-score-card {
    background: var(--tpc-dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 24px;
}

.tpc-score-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tpc-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.tpc-score-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.tpc-score-points {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tpc-green);
    margin-bottom: 12px;
}

.tpc-score-per {
    font-size: 14px;
    font-weight: 400;
    color: var(--tpc-text-muted);
}

.tpc-score-cap {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tpc-text-muted);
    margin-bottom: 16px;
}

.tpc-cap-uncapped {
    background: rgba(34, 197, 94, 0.15);
    color: var(--tpc-green);
}

.tpc-score-details {
    list-style: none;
    padding: 0;
}
.tpc-score-details li {
    font-size: 14px;
    color: var(--tpc-text-muted);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tpc-score-details li:last-child {
    border-bottom: none;
}

.tpc-score-note {
    font-size: 13px;
    color: var(--tpc-text-muted);
    font-style: italic;
    margin-top: 12px;
}

.tpc-score-total {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-top: 32px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

/* ===== PRIZES ===== */
.tpc-prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 48px auto 32px;
}

.tpc-prize-card {
    text-align: center;
    border-radius: 20px;
    padding: 40px 24px;
    transition: transform 0.2s;
}
.tpc-prize-card:hover {
    transform: translateY(-6px);
}

.tpc-prize-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid var(--tpc-gold);
}
.tpc-prize-silver {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 2px solid var(--tpc-silver);
}
.tpc-prize-bronze {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 2px solid var(--tpc-bronze);
}

.tpc-prize-medal {
    font-size: 48px;
    margin-bottom: 12px;
}

.tpc-prize-position {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tpc-text-light);
    margin-bottom: 8px;
}

.tpc-prize-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--tpc-text);
}

.tpc-prize-total {
    text-align: center;
    font-size: 17px;
    color: var(--tpc-text-light);
    margin-top: 8px;
}

/* ===== LEADERBOARD ===== */
.tpc-leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.tpc-lb-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 20px;
}

.tpc-lb-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tpc-lb-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* ===== EARNINGS ===== */
.tpc-earnings-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 40px auto 0;
}

.tpc-earnings-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--tpc-bg-light);
    border: 1px solid var(--tpc-border);
    border-radius: 16px;
    padding: 28px;
}

.tpc-earnings-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.tpc-earnings-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tpc-earnings-item p {
    font-size: 14px;
    color: var(--tpc-text-light);
}

/* ===== FINAL CTA ===== */
.tpc-section-cta {
    background: linear-gradient(135deg, var(--tpc-dark) 0%, #1a3a2a 50%, var(--tpc-green-dark) 100%);
    padding: 100px 0;
}

.tpc-cta-final {
    text-align: center;
}

.tpc-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.tpc-cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.tpc-cta-links {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.tpc-cta-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.tpc-cta-link:hover {
    color: #fff;
}

.tpc-cta-hashtag {
    color: var(--tpc-green);
    font-weight: 600;
}

.tpc-cta-divider {
    color: rgba(255,255,255,0.3);
}

/* ===== FOOTER ===== */
.tpc-footer {
    background: var(--tpc-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.tpc-footer-inner {
    text-align: center;
}

.tpc-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.tpc-footer-logo {
    width: 32px;
    height: 32px;
    background: var(--tpc-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 14px;
}

.tpc-footer-text {
    font-size: 14px;
    color: var(--tpc-text-muted);
    margin-bottom: 16px;
}

.tpc-footer-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: var(--tpc-text-muted);
    margin-bottom: 16px;
}

.tpc-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .tpc-model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tpc-score-grid {
        grid-template-columns: 1fr;
    }
    .tpc-leaderboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tpc-hero {
        padding: 72px 0 60px;
    }
    .tpc-prize-amount {
        font-size: 2.25rem;
    }
    .tpc-section {
        padding: 56px 0;
    }
    .tpc-model-grid {
        grid-template-columns: 1fr;
    }
    .tpc-diff-grid {
        grid-template-columns: 1fr;
    }
    .tpc-challenge-steps {
        grid-template-columns: 1fr;
    }
    .tpc-content-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tpc-prize-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    .tpc-leaderboard-grid {
        grid-template-columns: 1fr;
    }
    .tpc-earnings-box {
        grid-template-columns: 1fr;
    }
    .tpc-bonus-box {
        flex-direction: column;
    }
    .tpc-footer-contact {
        flex-direction: column;
        gap: 8px;
    }
    .tpc-section-cta {
        padding: 64px 0;
    }
}
