:root {
    --primary: #0a192f;
    --primary-light: #112240;
    --accent: #FFD700;
    --accent-hover: #e5c100;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --white: #ffffff;
    --bg-dark: #020c1b;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

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

.btn-outline:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-text strong {
    font-weight: 800;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-btn {
    padding: 0.5rem 1.2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.9) 0%, rgba(2, 12, 27, 0.4) 100%);
    z-index: -1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
    display: block;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-highlights {
    list-style: none;
    margin-bottom: 1rem;
}

.hero-highlights li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-highlights .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Forms */
.hero-form-box {
    padding: 2.5rem;
    background: rgba(17, 34, 64, 0.9);
}

.hero-form-box h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Floating Labels */
.floating-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-group input,
.floating-group select {
    width: 100%;
    padding: 1.2rem 1rem 0.4rem;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    background: rgba(2, 12, 27, 0.5);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
}

.floating-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    pointer-events: none;
    margin: 0 !important;
}

.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group select:focus ~ label,
.floating-group select:valid ~ label {
    top: 0.6rem;
    transform: translateY(-50%);
    font-size: 0.70rem;
    color: var(--accent);
}

.floating-group input:focus, .floating-group select:focus {
    border-color: var(--accent);
    background: rgba(2, 12, 27, 0.8);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
}

.terms-text {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

.mt-2 { margin-top: 1rem; }

/* Sections General */
section {
    padding: 6rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.section-heading p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--primary-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Comparison */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--primary-light);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(255, 215, 0, 0.05);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Calculator */
.calculator-section {
    position: relative;
    background: linear-gradient(to bottom, #020c1b, #0a192f);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.input-header label {
    font-weight: 600;
    color: var(--text-main);
}

.input-header span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.checkbox-group {
    flex-direction: column;
    gap: 0.8rem;
}

.calc-results {
    background: rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--glass-border);
}

.result-row:last-of-type {
    border-bottom: none;
}

.result-row strong {
    font-size: 1.2rem;
    color: var(--white);
}

.result-row strong.accent-text {
    color: var(--accent);
}

.total-row {
    margin-top: 1rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.total-row span {
    font-weight: 600;
    color: var(--white);
}

.total-row strong {
    font-size: 1.8rem;
    color: var(--accent);
}

.w-100 { width: 100%; }

.calc-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    text-align: center;
}

/* Rates Tabs */
.rates-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rate-tab {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text-main);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.rate-tab.active, .rate-tab:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

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

.table-responsive {
    overflow-x: auto;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-light);
    border-radius: 12px;
    overflow: hidden;
}

.rates-table th, .rates-table td {
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.rates-table th {
    background: var(--primary);
    color: var(--accent);
}

/* How to Invest */
.how-to-section {
    background: var(--primary);
}

.how-to-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.how-to-block h3 {
    margin-bottom: 2rem;
    color: var(--accent);
    text-align: center;
}

.step-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.step-box:hover {
    transform: translateX(10px);
    border-color: rgba(255, 215, 0, 0.2);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    opacity: 0.5;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 3rem 2rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    color: rgba(255, 215, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    flex-direction: column;
}

.author strong {
    color: var(--white);
    font-size: 1.1rem;
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQs */
.faqs {
    background: var(--primary);
}

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

.faq-item {
    background: var(--primary-light);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer & Disclaimers */
footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.8rem;
}

.disclaimer-section {
    padding-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.disclaimer-section p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Additions for Eligibility & Calculators */
.calc-features-list {
    background: rgba(17, 34, 64, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}
.calc-features-list h4 {
    color: var(--white);
    margin-bottom: 1rem;
}
.calc-features-list ul {
    list-style: none;
}
.calc-features-list li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}
.eligibility-content {
    padding: 2.5rem;
    border-radius: 12px;
}
.investor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    list-style-type: none;
    padding-left: 0;
    color: var(--text-main);
}
.investor-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.investor-list li::before {
    content: '❯';
    position: absolute;
    left: 0;
    color: var(--accent);
}
.mb-4 { margin-bottom: 2rem; }

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Checkbox */
.custom-checkbox, .custom-radio {
    cursor: pointer;
    font-size: 0.95rem;
}
.custom-checkbox input, .custom-radio input {
    accent-color: var(--accent);
    transform: scale(1.2);
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Floating Action Button */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 600;
}

.floating-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #1ebe5d;
    color: white;
}

.fab-text {
    font-size: 1rem;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center; justify-content: center;
    z-index: 9999;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1; pointer-events: auto;
}

.modal-content {
    background: rgba(17, 34, 64, 0.98);
    transform: translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: var(--white); font-size: 2rem;
    line-height: 1; cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .calculator-wrapper, .hero-content, .how-to-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        clip-path: circle(0% at 100% 0);
        transition: all 0.4s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(250% at 100% 0);
    }
    
    .nav-btn { width: 100%; text-align: center; margin-top: 1rem;}

    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 2.2rem; }
    .section-heading h2 { font-size: 1.8rem; }
    
    section { padding: 4rem 0; }
    
    .footer-content, .testimonials-grid { grid-template-columns: 1fr; }
    
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border-right: 1px solid var(--accent); /* visual hint for scrolling */
    }
    
    .features-grid, .investor-list { grid-template-columns: 1fr; }
    
    .floating-action-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px;
        border-radius: 50%;
    }
    .fab-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero { padding-top: 120px; }
    .hero-form-box { padding: 1.5rem; }
    .calculator-wrapper { padding: 1.5rem; }
    .rates-tabs { flex-direction: column; }
    .rate-tab { width: 100%; text-align: center; }
}
