/* grid.css */

/* =======================================
   Grid and Box Styles (Home, Business, Dashboard)
   ======================================= */
.grid-container {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
}

.content-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 18px;
}

.section-heading {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 30px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 10px;
}

.support-copy {
    color: var(--text-secondary);
    line-height: 1.6;
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1400px;
    margin: -10px auto 36px;
    padding: 0 18px;
}

.value-strip article {
    background: linear-gradient(145deg, var(--bg-secondary), #ffffff);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    text-align: left;
    box-shadow: 0 12px 24px rgba(5, 20, 28, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-strip article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(5, 20, 28, 0.12);
}

.strip-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 8px;
}

.value-strip strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.value-strip p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


.home-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas: 
        "box1 box2 box2 box3"
        "box1 box4 box5 box5";
}

.box1 { grid-area: box1; }
.box2 { grid-area: box2; }
.box3 { grid-area: box3; }
.box4 { grid-area: box4; }
.box5 { grid-area: box5; }

.business-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas: 
        "biz-box1 biz-box2 biz-box2 biz-box3"
        "biz-box1 biz-box4 biz-box5 biz-box5";
}

.biz-box1 { grid-area: biz-box1; }
.biz-box2 { grid-area: biz-box2; }
.biz-box3 { grid-area: biz-box3; }
.biz-box4 { grid-area: biz-box4; }
.biz-box5 { grid-area: biz-box5; }

.grid-box {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 18px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(5, 20, 28, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 180px;
}

.feature-card .card-icon {
    font-size: 1.5rem;
}

.feature-card .card-tag {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-secondary);
    font-weight: 600;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.45;
}

.homeowner { background: linear-gradient(145deg, #effcfb, #ffffff); }
.landlord { background: linear-gradient(145deg, #f5fbff, #ffffff); }
.contractor { background: linear-gradient(145deg, #fffaf2, #ffffff); }
.dashboard { background: linear-gradient(145deg, #f3f9ff, #ffffff); }
.support { background: linear-gradient(145deg, #f6fff8, #ffffff); }

.document-focus { background: linear-gradient(145deg, #fffaf1, #ffffff); }
.planning-focus { background: linear-gradient(145deg, #eef7ff, #ffffff); }
.property-focus { background: linear-gradient(145deg, #f2fff7, #ffffff); }
.update-focus { background: linear-gradient(145deg, #fff4f8, #ffffff); }
.trust-focus { background: linear-gradient(145deg, #f7f4ff, #ffffff); }

/* =======================================
   Customer Section Styles
   ======================================= */
.customer-section {
    max-width: 1400px;
    margin: 40px auto 40px;
    padding: 60px 18px;
    border-radius: 24px;
}

.homeowners-section {
    background: linear-gradient(135deg, rgba(175, 238, 238, 0.1), rgba(32, 178, 170, 0.08));
    border: 1px solid rgba(175, 238, 238, 0.3);
}

.landlords-section {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.08), rgba(0, 128, 128, 0.06));
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.contractors-section {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.06), rgba(175, 238, 238, 0.08));
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.section-header-alt {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 12px;
}

.section-header-alt h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin: 0 0 12px;
    color: var(--text-primary);
}

.section-header-alt p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(5, 20, 28, 0.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.05), rgba(175, 238, 238, 0.1));
    border: 2px dashed rgba(32, 178, 170, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
}

.section-content {
    flex: 1;
}

.value-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.value-card {
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(5, 20, 28, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(32, 178, 170, 0.15);
    color: var(--text-primary);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(32, 178, 170, 0.12);
    border-color: rgba(32, 178, 170, 0.3);
}

.homeowner-bg {
    background: linear-gradient(145deg, #f0fffe, #ffffff);
}

.landlord-bg {
    background: linear-gradient(145deg, #eef9ff, #ffffff);
}

.contractor-bg {
    background: linear-gradient(145deg, #fffef5, #ffffff);
}

.value-card .card-symbol {
    display: block;
    margin: 0 auto 14px;
    width: 40px;
    height: 40px;
}

.value-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    font-size: 0.93rem;
}

@media (prefers-color-scheme: dark) {
    .homeowner-bg {
        background: linear-gradient(145deg, rgba(32, 178, 170, 0.08), rgba(5, 20, 28, 0.4));
        border-color: rgba(175, 238, 238, 0.2);
    }

    .landlord-bg {
        background: linear-gradient(145deg, rgba(32, 178, 170, 0.06), rgba(5, 20, 28, 0.35));
        border-color: rgba(32, 178, 170, 0.2);
    }

    .contractor-bg {
        background: linear-gradient(145deg, rgba(0, 128, 128, 0.05), rgba(5, 20, 28, 0.3));
        border-color: rgba(32, 178, 170, 0.15);
    }
}

.customer-cta {
    text-align: center;
    padding-top: 20px;
}

.customer-cta .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.cta-hero {
    background: linear-gradient(180deg, rgba(32, 178, 170, 0.08), rgba(32, 178, 170, 0.04));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 18px 40px;
    text-align: center;
    margin: 40px 0 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-hero h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin: 0 0 10px;
    line-height: 1.2;
}

.cta-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final {
    background: linear-gradient(180deg, rgba(32, 178, 170, 0.08), rgba(32, 178, 170, 0.04));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 18px 40px;
    text-align: center;
    margin: 40px 0 0;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin: 0 0 10px;
    line-height: 1.2;
}

.cta-final p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

.grid-box:hover {
    transform: scale(1.025);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.grid-box a {
    color: var(--text-primary);
    display: block;
    height: 100%;
}

.section-header {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.dash-box {
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dash-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: inherit;
    cursor: pointer;
}

.dash-box:hover {
    transform: scale(1.025);
}

.dash-box.no-scale:hover {
    transform: none;
}

.documents-box h3, .planning-box h3, .documents-box p, .planning-box p {
    text-align: left;
}

.documents-box, .planning-box {
    grid-column: span 2;
}

.doc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.doc-symbol {
    flex: 1;
    text-align: left;
}

.doc-name {
    flex: 3;
    text-align: left;
}

.doc-date {
    flex: 1;
    text-align: right;
}

.calendar-mimic {
    border: none;
    padding: 10px;
    margin: 10px 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1024px) {
    .value-strip {
        grid-template-columns: 1fr 1fr;
    }

    .value-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calendar-mimic {
        flex-direction: row;
    }

    .value-strip,
    .home-grid,
    .business-grid,
    .value-cards-row {
        grid-template-columns: 1fr;
    }

    .home-grid .box1,
    .home-grid .box2,
    .home-grid .box3,
    .home-grid .box4,
    .home-grid .box5,
    .business-grid .biz-box1,
    .business-grid .biz-box2,
    .business-grid .biz-box3,
    .business-grid .biz-box4,
    .business-grid .biz-box5 {
        grid-area: auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-hero {
        padding: 32px 18px;
        margin: -20px auto 32px;
    }

    .cta-final {
        padding: 40px 18px 32px;
    }

    .customer-section {
        padding: 40px 18px;
    }

    .value-cards-row {
        gap: 16px;
    }

    .section-header-alt h2 {
        font-size: 1.6rem;
    }
}

.month-box {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    background-color: var(--bg-primary);
}

.calendar-mimic .month {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.calendar-mimic th {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.calendar-mimic td {
    text-align: center;
    padding: 5px 0;
    position: relative;
}

.calendar-mimic td:last-child::after {
    display: none;
}

.calendar-mimic .date-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s;
    color: var(--text-primary);
}

.calendar-mimic .date-circle:hover {
    background-color: var(--hover-bg);
}

.calendar-mimic .today {
    background-color: var(--accent-primary);
    color: #FFFFFF;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.profile-symbol {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.tools-box, .profile-box {
    color: #FFFFFF !important;
}

.tools-box h3, .profile-box h3 {
    font-weight: bold;
}

.tools-box p, .profile-box p {
    font-weight: normal;
}
