/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Membership-specific styles that extend the base styles */
/* This file should only contain styles specific to membership functionality */

/* Override any conflicting styles to use the design system */
body {
    font-family: 'Special Elite', cursive;
    line-height: 1.6;
    color: #333;
    background-color: #f6f6f6;
}

/* Container styles are handled by the main style.css file */
/* Override container for membership pages to ensure consistent width */
.container {
    max-width: 1000px !important;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Typography for membership pages - match about page styling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Special Elite', cursive;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

p {
    font-family: 'Special Elite', cursive;
    margin-bottom: 15px;
}

/* Notifications */
.notification {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
    font-family: 'Special Elite', cursive;
}

.notification-error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.notification-content h3 {
    margin-bottom: 10px;
    color: #dc2626;
    font-family: 'Special Elite', cursive;
}

.notification-content p {
    margin-bottom: 15px;
    font-family: 'Special Elite', cursive;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Special Elite', cursive;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
}

.btn-primary {
    background-color: #0000EE;
    color: white;
    border-color: #0000EE;
}

.btn-primary:hover {
    background-color: #0000CC;
    border-color: #0000CC;
}

.btn-secondary {
    background-color: transparent;
    color: #0000EE;
    border-color: #0000EE;
}

.btn-secondary:hover {
    background-color: #0000EE;
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: 2.8rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Form styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Special Elite', cursive;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Special Elite', cursive;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0000EE;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-family: 'Special Elite', cursive;
    font-size: 12px;
    margin-top: 5px;
}

/* Form steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-description {
    color: #666;
    margin-bottom: 15px;
    font-family: 'Special Elite', cursive;
}

.main-content {
    padding: 20px 0;
}

/* Success message */
.success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: 'Special Elite', cursive;
}

/* Membership table styles */
.membership-table {
    margin: 2rem 0;
}

.membership-comparison {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.membership-comparison th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    transition: all 0.3s ease;
}

.membership-comparison th.selected {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: scale(1.02);
}

.membership-comparison th input[type="radio"] {
    display: none;
}

.membership-comparison th label {
    cursor: pointer;
    display: block;
    margin: 0;
}

.membership-comparison td {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    vertical-align: top;
}

.membership-comparison .features-row td {
    background: #f8fafc;
}

.membership-comparison .prices-row td {
    background: #f1f5f9;
}

.membership-comparison .action-row td {
    background: white;
    padding: 1rem 1.5rem;
}

.feature-title, .price-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-description {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
}

.membership-comparison .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin: 0;
}

.select-option {
    width: 100%;
    margin: 0;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #059669;
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.checkbox-label a {
    color: #059669;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #047857;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .membership-comparison {
        font-size: 0.9rem;
    }
    
    .membership-comparison th,
    .membership-comparison td {
        padding: 1rem 0.5rem;
    }
    
    .membership-comparison .price {
        font-size: 1.2rem;
    }
    
    .select-option {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 40px 0;
    }
} 