/* RenoCanvas For Developers/Investors Page Styles */
/* Prefix: dev- */

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

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.dev-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;
}

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

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

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

.dev-button--outline:hover {
    background-color: var(--dev-beige);
}

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

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

/* ==========================================================================
   Hero Section - Split Layout
   ========================================================================== */
.dev-hero.dev-hero--split {
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-align: left;
}

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

.dev-hero.dev-hero--split .dev-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.dev-hero.dev-hero--split .dev-hero__subtitle {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--dev-text-muted);
    max-width: none;
    text-align: left;
}

/* Benefits List */
.dev-hero.dev-hero--split .dev-hero__benefits {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.dev-hero.dev-hero--split .dev-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dev-hero.dev-hero--split .dev-benefit:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    border-color: rgba(76, 117, 210, 0.2);
}

.dev-hero.dev-hero--split .dev-benefit__icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.dev-hero.dev-hero--split .dev-benefit__text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--dev-text-dark);
}

.dev-hero.dev-hero--split .dev-benefit__text strong {
    color: var(--dev-primary);
    font-weight: 600;
}

@media (min-width: 768px) {
    .dev-hero.dev-hero--split h1 {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .dev-hero.dev-hero--split {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .dev-hero.dev-hero--split h1 {
        font-size: 3rem;
    }

    .dev-hero.dev-hero--split .dev-hero__grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

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

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

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

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

.dev-cta-banner .dev-button--light:hover {
    background: var(--dev-beige);
}

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

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

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

/* ==========================================================================
   Feature Sections
   ========================================================================== */
.dev-feature {
    padding: 4rem 0;
}

.dev-feature:nth-child(odd) {
    background-color: var(--dev-background);
}

.dev-feature:nth-child(even) {
    background-color: var(--dev-beige);
}

.dev-feature__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .dev-feature {
        padding: 5rem 0;
    }

    .dev-feature__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Reverse order for alternating sections */
    .dev-feature--reversed .dev-feature__grid {
        direction: rtl;
    }

    .dev-feature--reversed .dev-feature__grid > * {
        direction: ltr;
    }

    .dev-feature--reversed .dev-feature__content {
        margin-left: auto;
    }
}

/* Feature Content */
.dev-feature__content {
    max-width: 540px;
}

.dev-feature__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dev-text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.25;
}

.dev-feature__content > p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dev-text-muted);
    margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
    .dev-feature__content h2 {
        font-size: 1.875rem;
    }

    .dev-feature__content > p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .dev-feature__content h2 {
        font-size: 2rem;
    }
}

/* Feature Bullet List */
.dev-feature__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.dev-feature__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--dev-text-dark);
    line-height: 1.5;
}

.dev-feature__bullets li::before {
    content: "✓";
    color: var(--dev-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

@media (min-width: 768px) {
    .dev-feature__bullets li {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Browser Frame Mockup
   ========================================================================== */
.dev-feature__browser-frame {
    position: relative;
    background: #F3F4F6;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 12px 24px -8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.dev-feature__browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to bottom, #FAFAFA, #F0F0F0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dev-feature__browser-dots {
    display: flex;
    gap: 0.375rem;
}

.dev-feature__browser-dots span {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: #D1D5DB;
}

.dev-feature__browser-dots span:nth-child(1) {
    background: #FCA5A5;
}

.dev-feature__browser-dots span:nth-child(2) {
    background: #FCD34D;
}

.dev-feature__browser-dots span:nth-child(3) {
    background: #86EFAC;
}

.dev-feature__browser-url {
    flex: 1;
    background: #FFFFFF;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    color: #6B7280;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dev-feature__browser-content {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1F2937;
}

.dev-feature__browser-frame .dev-feature__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dev-feature__browser-frame:hover .dev-feature__image {
    transform: scale(1.02);
}

/* Expand hint */
.dev-feature__expand-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dev-text-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.dev-feature__browser-frame:hover .dev-feature__expand-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Media Placeholder (when images don't exist) */
.dev-feature__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dev-primary) 0%, var(--dev-green) 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.dev-feature__media-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.dev-feature__media-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

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

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

.dev-section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--dev-text-muted);
    max-width: 672px;
    margin: 0 auto 3rem auto;
}

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

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

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

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

@media (min-width: 768px) {
    .dev-faq h2 {
        font-size: 2.25rem;
    }
}

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

.dev-cta-final h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dev-text-dark);
    margin-bottom: 1rem;
    margin-top: 0;
}

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

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

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

/* ==========================================================================
   Lightbox
   ========================================================================== */
.dev-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dev-lightbox--active {
    opacity: 1;
    visibility: visible;
}

.dev-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.dev-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.dev-lightbox--active .dev-lightbox__content {
    transform: scale(1);
}

.dev-lightbox__image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dev-lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dev-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}
