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

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

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-accept {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hand-with-ruble {
    text-align: center;
    font-size: 120px;
    opacity: 0.3;
    color: #ffd700;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    position: relative;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 200px;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #f8f9fa;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.header-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.logo i {
    font-size: 28px;
    color: #ffd700;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.daily-tip {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Daily Tip Banner */
.daily-tip-banner {
    background: linear-gradient(135deg, #e1bee7 0%, #d1c4e9 100%);
    padding: 15px 0;
    display: none;
    border-bottom: 2px solid #9c27b0;
}

.daily-tip-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.tip-label {
    color: #ff8c00;
    font-weight: bold;
    margin-left: 7px;
}

@media (max-width: 768px) {
    .daily-tip-banner {
        display: block;
    }
    
    .daily-tip {
        display: none;
    }
}

.phone-mockup {
    text-align: center;
    font-size: 120px;
    opacity: 0.3;
}

/* Main Content */
.main {
    padding: 60px 0;
}

.loans-section {
    margin-bottom: 80px;
}

.loans-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Rating Info */
.rating-info {
    background: #f8f9fa;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.rating-info p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}

.rating-info i {
    color: #4CAF50;
    font-size: 1.2rem;
}

/* MFO Grid */
.mfo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mfo-card {
    background: white;
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

/* MFO Banner */
.mfo-banner {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin: 10px 0 20px 0;
    border-radius: 8px;
}

.mfo-badges {
    position: absolute;
    top: -8px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.badge.online-badge {
    background: #4CAF50;
    color: white;
    animation: pulse 2s infinite;
}

.mfo-card:hover .badge.online-badge {
    animation: pulse-bright 1s infinite;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes pulse-bright {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.mfo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.badge {
    position: absolute;
    top: -8px;
    left: 20px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge.first-loan {
    background: #9c27b0;
}

.badge.fast-approval {
    background: #9c27b0;
}

.mfo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 15px 0;
}

.mfo-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.mfo-logo.red { background: #f44336; }
.mfo-logo.purple { background: #9c27b0; }
.mfo-logo.yellow { background: #ffc107; color: #333; }
.mfo-logo.orange { background: #ff9800; }
.mfo-logo.blue { background: #2196f3; }
.mfo-logo.teal { background: #009688; }
.mfo-logo.green { background: #4caf50; }
.mfo-logo.black { background: #333; }

.mfo-name {
    font-weight: 600;
    font-size: 1rem;
}

.mfo-amount {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* MFO Terms styling */
.mfo-terms {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mfo-terms .term-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfo-terms .term-icon {
    font-size: 14px;
    min-width: 16px;
}

.mfo-terms .term-icon.clock {
    color: #ff8c00;
}

.mfo-terms .term-icon.person {
    color: #666;
}

.mfo-approval-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mfo-approval {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.mfo-rating {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.get-money-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Info Blocks */
.info-blocks {
    margin-bottom: 80px;
}

.info-block {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block h3 i {
    color: #4CAF50;
}

.info-content h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-content h4 i {
    color: #4CAF50;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background: #f8fff8;
}

.info-content li i {
    color: #4CAF50;
    margin-top: 3px;
    min-width: 16px;
}

/* MFO Documentation */
.mfo-docs {
    margin-bottom: 80px;
}

.mfo-docs h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.doc-card {
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #4CAF50;
    transition: border-color 0.3s ease;
}

.doc-card:hover {
    border-color: #4CAF50;
}

.doc-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.doc-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

/* Contact Form */
.contact-form-section {
    margin-bottom: 80px;
}

.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.file-upload-section {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.file-upload {
    position: relative;
}

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

.file-upload-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.file-upload-btn:hover {
    background: #388e3c;
}

.form-agreement {
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    margin-right: 10px;
}

.checkbox-container a {
    color: #4CAF50;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #388e3c;
}

/* About Section */
.about-section {
    margin-bottom: 80px;
}

.about-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.important-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.important-notice i {
    color: #856404;
    margin-top: 2px;
}

.contact-info {
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f8fff8;
    margin-top: 20px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #333;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: #4CAF50;
    width: 20px;
}

.details-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.details-btn:hover {
    background: #388e3c;
}

.cookie-analytics-notice {
    background: #e8f5e8;
    border-top: 1px solid #4CAF50;
    padding: 15px 0;
    margin-top: 20px;
}

.cookie-analytics-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cookie-analytics-notice i {
    color: #4CAF50;
}

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

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 80px;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.review-city {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Cookie Info */
.cookie-info {
    background: #e8f5e8;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.cookie-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.cookie-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.cookie-info i {
    color: #4CAF50;
}

/* Logo Animation */
.animated-logo .pulsing-text {
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }
}

/* Online Indicator */
.online-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-indicator i {
    color: #90EE90;
    font-size: 20px;
    opacity: 0.8;
}

/* Date Highlight */
.date-highlight {
    color: #b8860b;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
        min-height: 25vh;
        max-height: 25vh;
    }
    
    .header-right {
        display: none;
    }
    
    .loans-title {
        font-size: 1.5rem !important;
    }
    
    .rating-info {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .rating-info p {
        font-size: 0.9rem;
    }
    
    .mfo-grid {
        gap: 35px;
    }
    
    .mobile-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 1000;
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .mobile-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .loan-calculator {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mfo-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .info-block,
    .contact-form-container,
    .about-content {
        padding: 25px;
    }
    
    .phone-mockup {
        font-size: 80px;
    }

    .file-upload-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .loans-section h2 {
        font-size: 2rem;
    }
    
    .mfo-docs h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-container h2 {
        font-size: 1.5rem;
    }
}

.tip-icon {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 20px rgba(255, 215, 0, 0.8); }
}

/* Online Indicator */

/* Date Highlight */
.date-highlight {
    color: #b8860b;
    font-weight: 600;
}

.approval-high {
    color: #4CAF50;
    font-weight: 600;
}

/* Stars styling */
.stars-5, .stars-4-5 {
    color: #b8860b;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.daily-tip-banner .tip-icon {
    margin-right: 7px;
}

.daily-tip .tip-icon {
    margin-right: 7px;
}

/* Rating numbers replacement */
.rating-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}
