/* ============================================
   INVESTMENT PAGE - invest.html
   ============================================ */

/* Hero Section */
.invest-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a52 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.invest-hero video,
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.invest-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    z-index: 1;
}

.invest-hero .hero-content,
.invest-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.invest-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.invest-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Investment Intro/Why Invest Section */
.invest-intro-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.benefit-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Investment Tiers Section */
.invest-tiers-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tier-card {
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

/* Tier Badge */
.tier-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tier Card Colors */
.tier-card.bronze {
    background: linear-gradient(135deg, #8B4513 0%, #CD7F32 100%);
    border-color: #A0522D;
}

.tier-card.silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 100%);
    border-color: #A9A9A9;
    color: #333;
}

.tier-card.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    border-color: #DAA520;
    color: #333;
}

.tier-card.platinum {
    background: linear-gradient(135deg, #E5E4E2 0%, #D3D3D3 100%);
    border-color: #696969;
    color: #333;
}

.tier-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tier-header i {
    font-size: 2rem;
}

.tier-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.tier-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.amount-range {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.tier-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features i {
    margin-right: 10px;
    color: var(--secondary);
}

.tier-card .btn {
    margin-top: auto;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.tier-card .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

.tier-card .btn-primary:hover {
    background: white;
    transform: scale(1.05);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 4px solid var(--secondary);
}

.step-card .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-card i {
    font-size: 2rem;
    color: var(--primary);
    margin: 20px 0;
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.invest-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a52 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ============================================
   INVESTMENT FORM - invest-form.html
   ============================================ */

.invest-form-container {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf1 100%);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.investment-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Form Groups */
.form-row-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"] {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input[readonly].tier-input {
    background: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

/* Tier Info Display */
.form-section .form-row-2col:first-child {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ROI Calculator */
.roi-calculator {
    background: linear-gradient(135deg, #f9f5e9 0%, #fff5e6 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

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

.roi-item label {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.roi-item .roi-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #f0f7ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--secondary);
    background: #e8f4ff;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: var(--secondary);
    font-weight: 500;
}

.file-upload.filled {
    background: #e8f5e9;
    border-color: #4caf50;
}

.file-upload.filled .file-label {
    color: #4caf50;
}

/* Terms and Conditions */
.terms-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

#termsContent {
    background: white;
    border: 1px solid #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-light);
}

.form-group-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.form-group-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group-check label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    color: var(--text);
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.payment-method {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--secondary);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
}

.payment-method i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.payment-method h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.payment-method p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.btn-payment {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-payment:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.form-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background: var(--secondary);
    color: white;
}

.form-actions .btn-primary:hover {
    background: #0056b3;
}

.form-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.form-actions .btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Message Display */
.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Certificate Styles */
.certificate {
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    border: 3px solid #daa520;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    font-family: 'Georgia', serif;
    max-width: 800px;
    margin: 20px auto;
}

.certificate.bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
    border-color: #8B4513;
    color: white;
}

.certificate.silver {
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 100%);
    border-color: #808080;
    color: #333;
}

.certificate.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    border-color: #DAA520;
    color: #333;
}

.certificate.platinum {
    background: linear-gradient(135deg, #E5E4E2 0%, #D3D3D3 100%);
    border-color: #696969;
    color: #333;
}

.certificate-header {
    margin-bottom: 40px;
}

.certificate-header h1 {
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.certificate-header p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin: 5px 0;
}

.certificate-line {
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.5;
    margin: 30px 0;
}

.certificate-body {
    margin: 40px 0;
    line-height: 1.8;
}

.certificate-body p {
    margin: 15px 0;
    font-size: 1rem;
}

.certificate-body .investor-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 25px 0;
    text-decoration: underline;
}

.certificate-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.certificate-signature {
    border-top: 2px solid currentColor;
    padding-top: 15px;
}

.certificate-signature p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .invest-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
    }

    .tier-card {
        min-height: auto;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .certificate {
        padding: 30px 20px;
    }

    .certificate-header h1 {
        font-size: 1.8rem;
    }
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}
