/* RenoCanvas Homepage Styles */
/* Prefix: home- */

/* ==========================================================================
   Base Layout & Typography
   ========================================================================== */
.home-page {
    background-color: #FCFAF7;
    color: #2D2D2D;
}

.home-container {
    max-width: 1152px; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.home-container--narrow {
    max-width: 896px; /* max-w-4xl */
}

.home-container--tight {
    max-width: 768px; /* max-w-3xl */
}

/* Section Subtitles */
.home-section-subtitle {
    text-align: center;
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75;
    color: #5D5D5D;
    max-width: 672px; /* max-w-2xl */
    margin: 0 auto 3rem auto; /* mb-12 = 48px */
}

.home-section-subtitle--large {
    margin-bottom: 4rem; /* mb-16 = 64px */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.home-hero {
    padding-top: 5rem; /* py-20 = 80px */
    padding-bottom: 5rem;
    text-align: center;
}

.home-hero h1 {
    font-size: 3rem; /* text-5xl = 48px */
    font-weight: 700; /* font-bold */
    line-height: 1.1;
    letter-spacing: -0.025em; /* tracking-tight */
    max-width: 896px; /* max-w-4xl */
    margin: 0 auto;
    text-wrap: balance; /* text-balance */
}

.home-hero__subtitle {
    margin-top: 1.5rem; /* mt-6 = 24px */
    font-size: 1.125rem; /* text-lg = 18px */
    line-height: 1.75; /* leading-relaxed */
    color: #5D5D5D;
    max-width: 672px; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty; /* text-pretty */
}

/* Inline Color Highlights - Matches card icons */
.home-highlight--design {
    font-weight: 600;
    color: #4c75d2; /* Blue - primary */
}
.home-highlight--money {
    font-weight: 600;
    color: #9BAE8D; /* Sage Green */
}
.home-highlight--docs {
    font-weight: 600;
    color: #2D2D2D; /* Dark Gray */
}

.home-hero__actions {
    margin-top: 2.5rem; /* mt-10 = 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* gap-4 = 16px */
}

/* ==========================================================================
   Shared Button Styles
   ========================================================================== */
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* gap-2 for icon spacing */
    height: 3rem; /* h-12 = 48px */
    padding-left: 2rem; /* px-8 = 32px */
    padding-right: 2rem;
    font-size: 1.125rem; /* text-lg = 18px */
    font-weight: 500;
    border-radius: 0.5rem; /* rounded-lg */
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: none;
    cursor: pointer;
}

.home-button--primary {
    background-color: #4c75d2;
    color: #FFFFFF;
}
.home-button--primary:hover {
    background-color: #4469bd;
}

.home-button--outline {
    background-color: transparent;
    color: #4c75d2;
    border: 1px solid #4c75d2;
}
.home-button--outline:hover {
    background-color: #F5EDE0;
}

/* Button Icons */
.home-icon {
    width: 1.25rem; /* h-5 w-5 = 20px */
    height: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Value Proposition Section
   ========================================================================== */
.home-value-prop {
    background-color: #F5EDE0; /* Beige */
    padding: 5rem 0; /* py-20 = 80px */
}

.home-value-prop h2 {
    text-align: center;
    font-size: 1.875rem; /* text-3xl = 30px */
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 1rem; /* mb-4 = 16px */
}

.home-value-prop__grid {
    margin-top: 3rem; /* mt-12 = 48px on top of subtitle */
    display: grid;
    gap: 2rem; /* gap-8 = 32px */
}

/* Value Prop Cards */
.home-card {
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); /* shadow-sm */
    padding: 2rem; /* p-8 = 32px */
    border-radius: 1rem; /* rounded-2xl = 16px */
}

.home-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* gap-3 = 12px */
    margin-bottom: 1rem; /* mb-4 = 16px */
}

/* Card Icon Containers with 10% opacity backgrounds */
.home-card__icon {
    display: flex;
    height: 3rem; /* h-12 = 48px */
    width: 3rem; /* w-12 = 48px */
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem; /* rounded-xl = 12px */
    flex-shrink: 0;
}

.home-card__icon svg {
    width: 1.5rem; /* h-6 w-6 = 24px */
    height: 1.5rem;
}

.home-card__icon--design {
    background-color: rgba(76, 117, 210, 0.1); /* Blue 10% */
    color: #4c75d2;
}

.home-card__icon--money {
    background-color: rgba(155, 174, 141, 0.1); /* Sage 10% */
    color: #9BAE8D;
}

.home-card__icon--docs {
    background-color: rgba(45, 45, 45, 0.1); /* Dark 10% */
    color: #2D2D2D;
}

.home-card h3 {
    font-size: 1.25rem; /* text-xl = 20px */
    font-weight: 600; /* font-semibold */
    color: #2D2D2D;
    margin: 0;
}

/* Card List with Checkmarks */
.home-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 = 8px */
    color: #5D5D5D;
}

.home-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem; /* gap-2 = 8px */
}

.home-check {
    width: 1.25rem; /* h-5 w-5 = 20px */
    height: 1.25rem;
    color: #9BAE8D; /* Sage Green for all checkmarks */
    margin-top: 0.125rem; /* mt-0.5 = 2px for alignment */
    flex-shrink: 0;
}

.home-card__list li span {
    line-height: 1.5;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.home-how-it-works {
    padding: 5rem 0; /* py-20 = 80px */
    background-color: #FCFAF7; /* Off-white */
}

.home-how-it-works h2 {
    text-align: center;
    font-size: 1.875rem; /* text-3xl = 30px */
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 1rem; /* mb-4 = 16px */
}

/* Steps Container */
.home-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* space-y-12 = 48px */
}

/* Individual Step */
.home-step {
    display: flex;
    gap: 1.5rem; /* gap-6 = 24px */
    align-items: flex-start;
}

.home-step__badge {
    display: flex;
    height: 3.5rem; /* h-14 = 56px */
    width: 3.5rem; /* w-14 = 56px */
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 1rem; /* rounded-2xl = 16px */
    background-color: #4c75d2; /* Blue */
    color: #FFFFFF;
    font-weight: 700; /* font-bold */
    font-size: 1.25rem; /* text-xl = 20px */
}

.home-step__content {
    flex: 1;
    padding-top: 0.5rem; /* pt-2 = 8px for alignment */
}

.home-step__content h3 {
    font-size: 1.25rem; /* text-xl = 20px */
    font-weight: 600; /* font-semibold */
    color: #2D2D2D;
    margin: 0 0 0.5rem 0; /* mb-2 = 8px */
}

.home-step__content p {
    color: #5D5D5D;
    line-height: 1.75; /* leading-relaxed */
    margin: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.home-faq {
    background-color: #F5EDE0; /* Beige */
    padding: 5rem 0; /* py-20 = 80px */
}

.home-faq h2 {
    text-align: center;
    font-size: 1.875rem; /* text-3xl = 30px */
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 1rem; /* mb-4 = 16px */
}

.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 = 24px */
}

/* FAQ Cards */
.home-faq-card {
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); /* shadow-sm */
    padding: 1.5rem; /* p-6 = 24px */
    border-radius: 1rem; /* rounded-2xl = 16px */
}

.home-faq-card h3 {
    font-size: 1.125rem; /* text-lg = 18px */
    font-weight: 600; /* font-semibold */
    color: #2D2D2D;
    margin: 0 0 0.75rem 0; /* mb-3 = 12px */
}

.home-faq-card p {
    color: #5D5D5D;
    line-height: 1.75; /* leading-relaxed */
    margin: 0;
}

/* FAQ Card "Read Full Article" Link */
.home-faq-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 = 8px */
    margin-top: 1rem; /* mt-4 = 16px */
    color: #4c75d2;
    font-weight: 500;
    font-size: 0.9375rem; /* 15px */
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.home-faq-card__link:hover {
    color: #4469bd;
    text-decoration: underline;
    gap: 0.75rem; /* Expands gap on hover for arrow effect */
}

.home-faq-card__link svg {
    width: 1rem; /* 16px */
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.home-faq-card__link:hover svg {
    transform: translateX(2px);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.home-cta {
    padding: 5rem 0; /* py-20 = 80px */
    background-color: #FCFAF7; /* Off-white */
    text-align: center;
}

.home-cta h2 {
    font-size: 1.875rem; /* text-3xl = 30px */
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 1rem; /* mb-4 = 16px */
}

.home-cta > .home-container > p:first-of-type {
    font-size: 1.125rem; /* text-lg = 18px */
    line-height: 1.75; /* leading-relaxed */
    color: #5D5D5D;
    margin-bottom: 2rem; /* mb-8 = 32px */
}

.home-cta__microcopy {
    margin-top: 1rem; /* mt-4 = 16px */
    font-size: 0.875rem; /* text-sm = 14px */
    color: #5D5D5D;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Small screens (640px+) - Horizontal CTA buttons */
@media (min-width: 640px) {
    .home-hero__actions {
        flex-direction: row;
    }
}

/* Medium screens (768px+) - Tablet */
@media (min-width: 768px) {
    .home-hero {
        padding-top: 7rem; /* md:py-28 = 112px */
        padding-bottom: 7rem;
    }
    
    .home-hero h1 {
        font-size: 3.75rem; /* md:text-6xl = 60px */
    }
    
    .home-hero__subtitle {
        font-size: 1.25rem; /* md:text-xl = 20px */
    }
    
    .home-value-prop h2,
    .home-how-it-works h2,
    .home-faq h2,
    .home-cta h2 {
        font-size: 2.25rem; /* md:text-4xl = 36px */
    }
    
    .home-value-prop__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens (1024px+) - Desktop */
@media (min-width: 1024px) {
    .home-hero h1 {
        font-size: 4.5rem; /* lg:text-7xl = 72px - LARGEST on site */
    }
}

/* ==========================================================================
   Smooth Scroll for Anchor Links
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
