/* Modern Pledge Page Styles - UK Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

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

/* Top Navigation */
.top-nav {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.nav-logo-icon {
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Hide mobile line break on desktop */
.mobile-break {
    display: none;
}

/* Form Introduction Styling */
.form-intro {
    color: #000000 !important;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
    padding: 0;
}

/* Tweet Content - same font properties as form-intro but with red color */
.tweet-content {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
}

/* Force black text for form introduction */
.form-container .form-intro {
    color: #000000 !important;
}

/* Even more specific targeting */
div.form-container p.form-intro {
    color: #000000 !important;
}

/* Social Proof Section */
.social-proof {
    padding: 60px 0;
    background: #f8fafc;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.proof-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
}

.proof-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.proof-detail {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.recent-pledgers {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-top: 30px;
}

.recent-pledgers h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.pledger-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pledger-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pledger-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 12px;
}

.pledger-info {
    flex: 1;
}

.pledger-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.pledger-amount {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.pledger-time {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Recent Pledgers Section */
.recent-pledgers-section {
    padding: 60px 0;
    background: #ffffff;
}

.recent-pledgers-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.recent-pledgers-section .pledger-list {
    max-width: 600px;
    margin: 0 auto;
}

/* Example and Pledge Section */
.example-pledge-section {
    padding: 40px 0;
    background: #ffffff;
}

.example-pledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.tweet-example-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .example-pledge-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.tweet-example {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #e2e8f0;
}

.tweet-info {
    flex: 1;
}

.tweet-author {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
}

.tweet-handle {
    color: #666;
    font-size: 0.9rem;
}

.tweet-date {
    color: #666;
    font-size: 0.9rem;
}

.tweet-content {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #f56565;
}

.tweet-stats {
    margin-bottom: 16px;
}

.tweet-views {
    color: #666;
    font-size: 0.9rem;
}

.tweet-analysis {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.analysis-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* Recent Pledgers Under Tweet */
.recent-pledgers-under-tweet {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.recent-pledgers-under-tweet h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.recent-pledgers-under-tweet .pledger-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-pledgers-under-tweet .pledger-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.recent-pledgers-under-tweet .pledger-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 10px;
}

.recent-pledgers-under-tweet .pledger-info {
    flex: 1;
}

.recent-pledgers-under-tweet .pledger-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.recent-pledgers-under-tweet .pledger-amount {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.recent-pledgers-under-tweet .pledger-time {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

/* Form Container */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
    color: #1a1a1a;
}

.form-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Selected Amount Display */
.selected-amount-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.selected-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.change-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.change-btn:hover {
    background: #5a67d8;
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.button-group.hidden {
    display: none;
}

.amount-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #1a1a1a;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.amount-btn:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.amount-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.amount-btn.selected:hover {
    background: #5a67d8;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
    display: inline-block !important;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.card-element-container {
    margin-bottom: 30px;
}

.card-element-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

#card-element {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* UK Organisations */
.organisations {
    padding: 60px 0;
    background: #f8fafc;
}

.organisations h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.org-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
}

.org-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.org-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e9;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.faq-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem; /* Much bigger than How It Works (2rem) */
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .mobile-break {
        display: block; /* Show line break on mobile */
    }
    
    /* Make form heading smaller on mobile */
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .org-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 4rem; /* Much bigger than How It Works (2rem) */
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .mobile-break {
        display: block; /* Show line break on mobile */
    }
    
    /* Make form heading even smaller on very small mobile */
    .form-container h2 {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
    color: #1a1a1a;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    margin: 0 0 20px;
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
}

.share-section {
    margin-top: 30px;
    padding: 25px;
    background: #f7fafc;
    border-radius: 15px;
    text-align: center;
}

.share-section h3 {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
}

.share-section p {
    margin: 0 0 25px;
    color: #4a5568;
    font-size: 1rem;
}

.whatsapp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-share-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-share-btn:active {
    transform: translateY(0);
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.close-modal-btn {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background: #cbd5e0;
    color: #2d3748;
}
