/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.logo-img
{
    height: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1f40af;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.ramp-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.ramp-img-1, .ramp-img-2 {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ramp-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

.ramp-img-2 {
    position: absolute;
    top: 40px;
    right: 0;
    transform: rotate(5deg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* App Preview Section */
.app-preview {
    padding: 6rem 0;
    background: white;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.preview-features {
    list-style: none;
    margin-top: 2rem;
}

.preview-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.preview-features i {
    color: #10b981;
    font-size: 1.2rem;
}

.preview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.preview-img-1, .preview-img-2 {
    width: 100%;
    /*height: ;*/
    object-fit: cover;
    border-radius: 12px;
}

.preview-img-1 {
    height: 71.4%;
    
}

/* Crowdfunding Section */
.crowdfunding {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.crowdfunding-content {
    text-align: center;
}

.crowdfunding-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.funding-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.donation-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    text-align: left;
}

.donation-options h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.preset-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.donation-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.donation-btn:hover, .donation-btn.selected {
    background: white;
    color: #1f40af;
}

.donation-btn .amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.donation-btn .description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.custom-amount {
    margin-bottom: 2rem;
}

.custom-amount label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.amount-input {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.currency {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 600;
}

.amount-input input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}

.funding-goals h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.goal-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.goal-text h4 {
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

/* Pre-Signup Section */
.pre-signup {
    padding: 6rem 0;
    background: #f8fafc;
}

.pre-signup-content {
    text-align: center;
}

.pre-signup-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #6b7280;
}

.signup-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.signup-form-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.signup-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: #2563eb;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: #2563eb;
    font-size: 1.5rem;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: #1f2937;
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* Download App Section */
.download-app {
    padding: 6rem 0;
    background: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.app-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature i {
    color: #2563eb;
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1f2937;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: #374151;
    transform: translateY(-2px);
}

.store-btn .small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.store-btn .large {
    font-size: 1.1rem;
    font-weight: 600;
}

.coming-soon {
    color: #6b7280;
    font-style: italic;
    margin-top: 1rem;
}

.phone-preview img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: #2563eb;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #1f2937;
}

.modal-body {
    padding: 2rem;
    max-width: 100%;
    overflow-x: hidden;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

/* Donor Information Section */
.donor-info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.donor-info-section h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.donor-info-section p {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.donor-info-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donor-info-section input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.donor-info-section input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Stripe Elements Styling */
#payment-element {
    margin-bottom: 1rem;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure Stripe Elements don't overflow */
#payment-element .ElementsApp {
    max-width: 100% !important;
}

#payment-element .ElementsApp .ElementsApp__main {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Force Stripe form to fit modal */
#payment-element .ElementsApp .ElementsApp__main .ElementsApp__form {
    max-width: 100% !important;
    width: 100% !important;
}

#payment-element .ElementsApp .ElementsApp__main .ElementsApp__form .ElementsApp__formRow {
    max-width: 100% !important;
    width: 100% !important;
}

/* Hide billing details section */
#payment-element [data-testid="billing-details"] {
    display: none !important;
}

#payment-element [data-testid="billing-details-section"] {
    display: none !important;
}

/* Hide any billing-related fields */
#payment-element input[name*="billing"],
#payment-element input[name*="name"],
#payment-element input[name*="email"],
#payment-element input[name*="phone"] {
    display: none !important;
}

/* Hide billing details container */
#payment-element .ElementsApp__billingDetails {
    display: none !important;
}

#payment-element .ElementsApp__billingDetailsSection {
    display: none !important;
}

/* Hide specific Stripe billing elements */
#payment-element [data-testid="billing-details-name"],
#payment-element [data-testid="billing-details-email"],
#payment-element [data-testid="billing-details-phone"] {
    display: none !important;
}

/* Hide billing details label */
#payment-element label[for*="billing"],
#payment-element label[for*="name"],
#payment-element label[for*="email"],
#payment-element label[for*="phone"] {
    display: none !important;
}

/* Additional Stripe field hiding */
#payment-element [data-testid*="billing"],
#payment-element [data-testid*="name"],
#payment-element [data-testid*="email"],
#payment-element [data-testid*="phone"] {
    display: none !important;
}

/* Hide any divs containing billing text */
#payment-element div:contains("billing"),
#payment-element div:contains("name"),
#payment-element div:contains("email"),
#payment-element div:contains("phone") {
    display: none !important;
}

/* Force hide all billing-related elements */
#payment-element *[class*="billing"],
#payment-element *[class*="name"],
#payment-element *[class*="email"],
#payment-element *[class*="phone"] {
    display: none !important;
}

#payment-message {
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.hidden {
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-content i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.success-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .donation-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preview-content,
    .download-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .preset-buttons {
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95vw;
        margin: 10% auto;
        max-height: 80vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .donor-info-section .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .funding-stats,
    .signup-stats {
        grid-template-columns: 1fr;
    }
}
