/* Membership Signup Page Styles */

:root {
    --primary: #149777;
    --primary-dark: #0f7a61;
    --primary-light: rgba(20, 151, 119, 0.1);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --border-main: rgba(0, 0, 0, 0.05);
    --success: #10b981;
}

.signup-canvas {
    background-color: var(--bg-main);
    padding-top: 20px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.signup-container {
    max-width: 1000px; /* Compact Marketplace Standard */
    margin: 40px auto;
    padding: 0 20px;
}

.signup-card {
    background: #fff;
    padding: 60px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

/* Hero Section */
.membership-hero {
    background: #fff;
    padding: 60px;
    border-radius: 0;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

.hero-content span.highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.hero-content span.highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.step-wrapper {
    margin-bottom: 64px;
}

#step-2-container, #step-3-container {
    display: none;
}

.step-header {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 20px;
    letter-spacing: -0.5px;
}

.step-header::before {
    content: '';
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: none;
}

.step-wrapper:nth-of-type(1) .step-header::before { content: '1'; }
.step-wrapper:nth-of-type(2) .step-header::before { content: '2'; }
.step-wrapper:nth-of-type(3) .step-header::before { content: '3'; }

/* Pillar Grid */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 20px 0;
}

.pillar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: none;
}

.pillar-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: none;
}

.pillar-card.selected {
    background-color: var(--primary-light);
    border-color: var(--primary);
}

.pillar-card.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--primary);
}

.pillar-icon-outer {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.pillar-card:hover .pillar-icon-outer {
    transform: rotate(10deg);
}

.pillar-icon-outer i {
    font-size: 24px;
}

.pillar-main-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.pillar-sub-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.4;
}

/* Step 2: Plan Selection */
.plan-tabs {
    display: flex;
    margin-bottom: 40px;
    background: #f1f5f9;
    padding: 2px;
    border-radius: 0;
    width: fit-content;
}

.plan-tab {
    padding: 12px 40px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.duration-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 48px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    cursor: pointer;
}

.duration-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: none;
}

.duration-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

/* Popular (Quarterly) Card Styling */
.duration-card.popular {
    border-color: #ffc800;
    border-width: 2px;
    overflow: hidden;
}

.duration-card.popular:hover {
    border-color: #ffb300;
    box-shadow: 0 10px 20px rgba(255, 200, 0, 0.15);
}

.duration-card.popular.selected {
    background-color: rgba(255, 200, 0, 0.05);
    border-color: #ffc800;
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, #ffc800, #ff9f43);
    color: #0f172a;
    font-size: 10px;
    font-weight: 900;
    padding: 6px 36px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 159, 67, 0.3);
    pointer-events: none;
    z-index: 10;
}

.duration-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.plan-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.plan-info-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 16px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.plan-info-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.plan-info-value {
    font-weight: 700;
    color: var(--text-main);
    font-size: 15px;
    white-space: nowrap;
}

.duration-price {
    margin-top: auto;
    padding-top: 32px;
    font-size: 36px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.duration-price small {
    font-size: 18px;
    font-weight: 800;
    margin-right: 4px;
    opacity: 0.5;
}

.select-dur-btn {
    width: 100%;
    padding: 14px;
    border-radius: 0;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.duration-card:hover .select-dur-btn {
    background: var(--primary);
    color: #fff;
}

/* Step 3: Form */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.form-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    font-size: 16px;
    transition: all 0.2s;
    background: #f8fafc;
    color: var(--text-main);
    font-weight: 600;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: none;
    outline: none;
}

.phone-input-group {
    display: flex;
    height: 52px;
}

.phone-prefix {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-right: none;
    padding: 0 16px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.phone-input {
    border-radius: 0 !important;
    flex: 1;
}

.submit-container {
    text-align: center;
    margin-top: 48px;
}

.btn-pay {
    background: var(--primary);
    color: #fff;
    padding: 18px 80px;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-pay:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Benefits */
.benefits-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #f1f5f9;
}

.benefits-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--text-main);
    text-align: center;
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.benefit-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .membership-hero { flex-direction: column; padding: 40px; text-align: center; gap: 40px; }
    .hero-image { justify-content: center; }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .duration-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .signup-card { padding: 40px 24px; border-radius: 24px; }
    .hero-content h1 { font-size: 32px; }
    .pillar-grid { grid-template-columns: 1fr; gap: 16px; }
    .pillar-card { padding: 32px 24px; }
    .duration-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .btn-pay { width: 100%; padding: 18px; }
    .step-header { font-size: 20px; }
}

