/* RenoCanvas Features Page Styles */
/* Prefix: feat- */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
    --feat-primary: #4c75d2;
    --feat-primary-hover: #4469bd;
    --feat-green: #9BAE8D;
    --feat-background: #FCFAF7;
    --feat-beige: #F5EDE0;
    --feat-text-dark: #2D2D2D;
    --feat-text-muted: #5D5D5D;
}

/* ==========================================================================
   Base Page Styles
   ========================================================================== */
.feat-page {
    background-color: var(--feat-background);
    color: var(--feat-text-dark);
}

/* ==========================================================================
   Container
   ========================================================================== */
.feat-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feat-container--narrow {
    max-width: 896px;
}

.feat-container--tight {
    max-width: 768px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.feat-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: none;
    cursor: pointer;
}

.feat-button--primary {
    background-color: var(--feat-primary);
    color: #FFFFFF;
}

.feat-button--primary:hover {
    background-color: var(--feat-primary-hover);
}

.feat-button--outline {
    background-color: transparent;
    color: var(--feat-primary);
    border: 2px solid var(--feat-primary);
}

.feat-button--outline:hover {
    background-color: rgba(76, 117, 210, 0.1);
}

.feat-button--light {
    background-color: #FFFFFF;
    color: var(--feat-primary);
}

.feat-button--light:hover {
    background-color: var(--feat-beige);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.feat-hero {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(180deg, var(--feat-background) 0%, var(--feat-beige) 100%);
}

.feat-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem 0;
    text-wrap: balance;
}

.feat-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--feat-text-muted);
    max-width: 640px;
    margin: 0 auto 2rem auto;
}

.feat-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .feat-hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .feat-hero {
        padding: 6rem 1rem;
    }

    .feat-hero h1 {
        font-size: 3.5rem;
    }
}

/* ==========================================================================
   Section Subtitle (reusable)
   ========================================================================== */
.feat-section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--feat-text-muted);
    max-width: 640px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Feature Grid Section
   ========================================================================== */
.feat-grid-section {
    padding: 4rem 0;
    background-color: var(--feat-background);
}

.feat-grid-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--feat-text-dark);
    margin: 0 0 1rem 0;
}

.feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Feature Card */
.feat-card {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.feat-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feat-card__icon--blue {
    background: rgba(76, 117, 210, 0.15);
    color: var(--feat-primary);
}

.feat-card__icon--green {
    background: rgba(155, 174, 141, 0.25);
    color: #6B8E5F;
}

.feat-card__icon--orange {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
}

.feat-card__icon--purple {
    background: rgba(139, 92, 246, 0.15);
    color: #7C3AED;
}

.feat-card__icon--pink {
    background: rgba(236, 72, 153, 0.15);
    color: #DB2777;
}

.feat-card__icon--teal {
    background: rgba(20, 184, 166, 0.15);
    color: #0D9488;
}

.feat-card__icon--amber {
    background: rgba(245, 158, 11, 0.15);
    color: #B45309;
}

.feat-card__icon--red {
    background: rgba(239, 68, 68, 0.15);
    color: #DC2626;
}

.feat-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--feat-text-dark);
    margin: 0 0 0.5rem 0;
}

.feat-card > p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--feat-text-muted);
    margin: 0 0 1rem 0;
}

.feat-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.feat-card__list li {
    font-size: 0.8125rem;
    color: var(--feat-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feat-card__list li::before {
    content: "✓";
    color: var(--feat-green);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.feat-cta-banner {
    background: var(--feat-primary);
    padding: 1.5rem 0;
}

.feat-cta-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.feat-cta-banner__text {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
}

.feat-cta-banner__subtext {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
    .feat-cta-banner__content {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .feat-cta-banner__subtext {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 1.5rem;
    }
}

/* ==========================================================================
   Persona Sections
   ========================================================================== */
.feat-persona {
    padding: 4rem 0;
    background-color: var(--feat-background);
}

.feat-persona--alt {
    background-color: var(--feat-beige);
}

.feat-persona__header {
    text-align: center;
    margin-bottom: 3rem;
}

.feat-persona__label {
    display: inline-block;
    background: rgba(76, 117, 210, 0.1);
    color: var(--feat-primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.feat-persona__header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--feat-text-dark);
    margin: 0 0 1rem 0;
}

.feat-persona__header > p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--feat-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.feat-persona__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .feat-persona__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feat-persona__feature {
    display: flex;
    gap: 1rem;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.feat-persona--alt .feat-persona__feature {
    background: #FFFFFF;
}

.feat-persona__feature > i {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(76, 117, 210, 0.1);
    color: var(--feat-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feat-persona__feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--feat-text-dark);
    margin: 0 0 0.375rem 0;
}

.feat-persona__feature p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--feat-text-muted);
    margin: 0;
}

.feat-persona__cta {
    text-align: center;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feat-persona__cta span {
    font-size: 0.875rem;
    color: var(--feat-text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.feat-faq {
    background-color: var(--feat-beige);
    padding: 4rem 0;
}

.feat-faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--feat-text-dark);
    margin: 0 0 1rem 0;
}

.feat-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feat-faq-card {
    background-color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.feat-faq-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--feat-text-dark);
    margin: 0 0 0.75rem 0;
}

.feat-faq-card p {
    color: var(--feat-text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.feat-cta-final {
    padding: 4rem 0;
    background-color: var(--feat-background);
    text-align: center;
}

.feat-cta-final h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--feat-text-dark);
    margin: 0 0 1rem 0;
}

.feat-cta-final > .feat-container > p:first-of-type {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--feat-text-muted);
    margin-bottom: 2rem;
}

.feat-cta__microcopy {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--feat-text-muted);
}

@media (min-width: 768px) {
    .feat-cta-final h2 {
        font-size: 2.25rem;
    }
}
