/* ===========================
   SIGNUP PAGE STYLES
   Town of Holland Area Historical Society
   =========================== */

/* ===========================
   PAGE HEADER
   =========================== */
.signup-page-header {
    padding: 155px 5% 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, var(--dark-bg) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.signup-header-sub {
    font-family: 'Aboreto', serif;
    font-size: 2.1rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: normal;
    margin-bottom: 0;
}

.signup-mission-copy {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-gray);
    text-align: center;
    max-width: 780px;
    margin: 1.25rem auto 0;
}

.signup-mission-copy::after {
    content: '';
    display: block;
    width: 90px;
    height: 1px;
    background: rgba(212, 175, 55, 0.45);
    margin: 2.5rem auto 3.5rem;
}

.signup-anchor-link {
    color: var(--text-gray);
    text-decoration: underline;
    cursor: pointer;
}

.signup-anchor-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

#community-access {
    scroll-margin-top: 100px;
}

#business-memberships {
    scroll-margin-top: 20px;
}

@media (max-width: 768px) {
    .signup-page-header {
        padding: 125px 5% 0;
    }
    .signup-header-sub {
        font-size: 1.6rem;
    }
}

/* ===========================
   FREE ACCOUNT SECTION
   =========================== */
.free-account-section {
    background: var(--dark-bg);
    padding: 4rem 5%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.free-account-card {
    position: relative;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 0;
    padding: 3rem;
    max-width: 65%;
    margin: 0 auto;
    text-align: center;
    box-shadow:
        0 0 80px 30px rgba(200, 200, 200, 0.08),
        0 -40px 60px rgba(200, 200, 200, 0.10),
        0 40px 60px rgba(200, 200, 200, 0.10),
        -40px 0 60px rgba(200, 200, 200, 0.10),
        40px 0 60px rgba(200, 200, 200, 0.10),
        0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.free-account-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.free-account-card:hover {
    /* No glow effect on hover */
}

/* Communities-style corner decorations */
.eastlake-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    pointer-events: none;
}

.eastlake-corner.top-left {
    top: 0;
    left: 0;
}

.eastlake-corner.top-right {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.eastlake-corner.bottom-left {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.eastlake-corner.bottom-right {
    bottom: 0;
    right: 0;
    transform: scale(-1, -1);
}

.eastlake-corner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-top: 2px solid var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
}

.eastlake-corner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 32px;
    height: 32px;
    border-top: 1px solid var(--accent-gold);
    border-left: 1px solid var(--accent-gold);
}

.free-account-card h2 {
    font-family: 'Aboreto', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.free-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}
.free-price-inline {
    color: #fff;
    font-weight: 700;
    font-style: normal;
    font-size: 1.35rem;
}

/* Benefits comparison - two column layout */
.benefits-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.benefits-included li,
.benefits-excluded li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.x-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #d32f2f;
    margin-top: 2px;
}

.benefits-excluded li {
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   PRICING TOGGLE
   =========================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}

.pricing-toggle-inline {
    margin-bottom: 0;
    margin-top: 0;
    gap: 1rem;
}

.toggle-label {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--accent-gold);
    font-weight: 700;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.toggle-switch:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.4);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--accent-gold);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===========================
   MEMBERSHIP SECTIONS
   =========================== */
.memberships-section {
    background: var(--dark-bg);
    padding: 3rem 5% 4rem;
}

.memberships-section:first-of-type {
    padding-top: 120px; /* Account for fixed navbar */
}

.business-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-gray) 100%);
}

.section-title {
    font-family: 'Aboreto', serif;
    font-size: 3rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.subtitle-with-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle-with-toggle .section-subtitle {
    margin-bottom: 0;
}

.section-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   MEMBERSHIP CARDS
   =========================== */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.membership-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.membership-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.membership-card:nth-child(1) {
    transition-delay: 0.1s;
}

.membership-card:nth-child(2) {
    transition-delay: 0.2s;
}

.membership-card:nth-child(3) {
    transition-delay: 0.3s;
}

.membership-card:hover {
    border-color: rgba(212, 165, 116, 0.6);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(212, 165, 116, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.membership-card.featured {
    border: 2px solid var(--accent-gold);
    background:
        radial-gradient(ellipse at top, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(26, 26, 26, 0.95) 100%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(212, 165, 116, 0.2);
}

.membership-card.featured:hover {
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(212, 165, 116, 0.35);
    transform: translateY(-8px) scale(1.02);
}

/* Badge for featured card */
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c654 100%);
    color: var(--dark-bg);
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-family: 'Aboreto', serif;
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* Card Price */
.card-price {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    min-height: 80px;
}

.price {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.price.hidden {
    display: none;
}

.price .currency {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    vertical-align: top;
    margin-right: 0.2rem;
}

.price .amount {
    font-family: 'Aboreto', serif;
    font-size: 4rem;
    color: var(--accent-gold);
    line-height: 1;
}

.price .period {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 0.3rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.benefits-list li {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* Buttons */
.btn-signup {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.2) 100%);
    border: 2px solid rgba(212, 165, 116, 0.4);
    color: var(--accent-gold);
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-signup:hover::before {
    left: 100%;
}

.btn-signup:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.3) 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
    transform: translateY(-2px);
}

.btn-featured {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c654 100%);
    border-color: var(--accent-gold);
    color: var(--dark-bg);
}

.btn-featured:hover {
    background: linear-gradient(135deg, #f0c654 0%, var(--accent-gold) 100%);
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: #f0c654;
    color: #f0c654;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-free {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.25) 100%);
    border-color: rgba(212, 165, 116, 0.5);
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 1200px) {
    .membership-grid {
        gap: 1.5rem;
    }

    .membership-card {
        padding: 2rem 1.5rem;
    }

    .price .amount {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .subtitle-with-toggle {
        flex-direction: column;
        gap: 1.5rem;
    }

    .subtitle-with-toggle .section-subtitle {
        text-align: center;
    }

    .membership-grid,
    .business-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .free-account-card {
        padding: 2rem;
        max-width: 85%;
    }

    .free-account-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .memberships-section {
        padding: 2rem 5%;
    }

    .memberships-section:first-of-type {
        padding-top: 100px; /* Account for fixed navbar on mobile */
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .subtitle-with-toggle {
        flex-direction: column;
        gap: 1rem;
    }

    .subtitle-with-toggle .section-subtitle {
        text-align: center;
    }

    .card-header h3 {
        font-size: 1.75rem;
    }

    .price .amount {
        font-size: 3rem;
    }

    .pricing-toggle {
        gap: 1rem;
    }

    .toggle-label {
        font-size: 1rem;
    }

    .benefits-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .free-account-card {
        padding: 1.5rem;
    }

    .free-account-card h2 {
        font-size: 1.75rem;
    }

    .membership-card {
        padding: 2rem 1.5rem;
    }

    .btn-signup {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .eastlake-corner {
        width: 30px;
        height: 30px;
    }

    .eastlake-corner::before {
        width: 30px;
        height: 30px;
    }

    .eastlake-corner::after {
        top: 4px;
        left: 4px;
        width: 20px;
        height: 20px;
    }

    .free-account-card {
        max-width: 100%;
    }
}
