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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Changed from 1 to -1 to be behind everything */
  pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 2;
}

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

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4c4c, #f6c744, #44ffd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 76, 76, 0.3);
}

.header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    background: rgba(26, 26, 46, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.partner-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.partner-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.partner-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(68, 255, 212, 0.3);
}

.partner-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #44ffd4;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #44ffd4;
    box-shadow: 0 0 15px rgba(68, 255, 212, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #ff4c4c, #f6c744);
    border: none;
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 76, 76, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 76, 76, 0.4);
    background: linear-gradient(45deg, #ff6c6c, #f8d764);
}

.results {
    display: none;
    margin-top: 40px;
}

.results.show {
    display: block;
    animation: fadeInUp 0.6s ease;
}

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

.result-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.main-score {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.score-ring {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
}

.score-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff4c4c 0%, #f6c744 50%, #44ffd4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.score-inner {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff4c4c;
    font-family: 'Playfair Display', serif;
}

.score-label {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-top: 5px;
}

.risk-level {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.risk-quote {
    font-style: italic;
    color: #e0e0e0;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.detailed-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.score-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.score-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.score-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #44ffd4;
}

.score-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.score-card .description {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.partner-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(246, 199, 68, 0.3);
}

.partner-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f6c744;
}

.partner-details {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    font-weight: 500;
    color: #e0e0e0;
}

.detail-value {
    font-weight: 600;
    color: #ffffff;
}

.warning-signs {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 76, 76, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff4c4c;
}

.warning-signs h5 {
    color: #ff4c4c;
    margin-bottom: 10px;
    font-weight: 600;
}

.warning-signs ul {
    list-style: none;
    padding-left: 0;
}

.warning-signs li {
    margin-bottom: 5px;
    color: #e0e0e0;
}

.warning-signs li::before {
    content: "⚠️ ";
    margin-right: 5px;
}

.compatibility-analysis {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.compatibility-analysis h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #44ffd4;
}

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

.compatibility-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.compatibility-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.compatibility-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.compatibility-item .score {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.compatibility-item .label {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.insight-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e0e0;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.advice-section {
    background: linear-gradient(135deg, rgba(68, 255, 212, 0.1), rgba(246, 199, 68, 0.1));
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(68, 255, 212, 0.2);
}

.advice-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #44ffd4;
}

.advice-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.action-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download {
    background: linear-gradient(45deg, #44ffd4, #f6c744);
    color: #1a1a2e;
}

.btn-share {
    background: linear-gradient(45deg, #f6c744, #ff4c4c);
    color: #ffffff;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* New Content Sections Styling */
.content-section {
    margin: 60px 0;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    background: rgba(26, 26, 46, 0.95);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.content-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #44ffd4;
    margin-bottom: 20px;
    text-align: center;
}

.content-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: center;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.method-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #f6c744;
    margin-bottom: 15px;
}

.method-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c0c0c0;
    text-align: left;
    margin: 0;
}

.risk-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.risk-level-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.risk-level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.low-risk {
    border-left: 4px solid #4ade80;
}

.low-risk:hover {
    background: rgba(74, 222, 128, 0.1);
}

.moderate-risk {
    border-left: 4px solid #fbbf24;
}

.moderate-risk:hover {
    background: rgba(251, 191, 36, 0.1);
}

.high-risk {
    border-left: 4px solid #f87171;
}

.high-risk:hover {
    background: rgba(248, 113, 113, 0.1);
}

.risk-percentage {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.risk-level-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.risk-level-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c0c0c0;
    text-align: left;
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tip-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tip-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #f6c744;
    margin-bottom: 15px;
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card li {
    margin-bottom: 10px;
    color: #c0c0c0;
    padding-left: 20px;
    position: relative;
}

.tip-card li::before {
    content: "✨";
    position: absolute;
    left: 0;
    top: 0;
}

/* Enhanced FAQ Styling */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #f6c744;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(68, 255, 212, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: '▼';
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #44ffd4;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #c0c0c0;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .partner-inputs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-cards {
        grid-template-columns: 1fr;
    }
    
    .detailed-scores {
        grid-template-columns: 1fr;
    }
    
    .score-ring {
        width: 150px;
        height: 150px;
    }
    
    .score-inner {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .content-card h2 {
        font-size: 2rem;
    }
    
    .methodology-grid,
    .risk-levels,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .partner-section {
        padding: 20px;
    }
    
    .result-card {
        padding: 25px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}



/* Beautiful mm Buttons with Smooth Hover Effects */
        .mm-buttons-section {
            background: transparent;
            padding: 3rem 0;
            margin: 2rem 0;
        }
        
        .mm-buttons-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
        }
        
        .mm-buttons-title {
            text-align: center;
            color: #FFD700;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .mm-buttons-subtitle {
            text-align: center;
            color: #FFFFFF;
            font-size: 1.2rem;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .mm-buttons-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px 30px;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .mm-button {
            background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
            color: #333;
            padding: 18px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            font-family: Arial, sans-serif;
            box-sizing: border-box;
        }
        
        .mm-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
            transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 0;
            border-radius: 50px;
        }
         .mm-button:hover::before {
            left: 0;
        }
        
        .mm-button:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
        }
        
       .mm-button span {
    color: #000000; /* Black text by default */
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.mm-button:hover span {
    color: #FFFFFF; /* White text on hover */
}

        
        .mm-button .arrow {
            margin-left: 15px;
            font-size: 18px;
            line-height: 1;
            transition: transform 0.3s ease;
        }
        
        .mm-button:hover .arrow {
            transform: translateX(5px);
        }
        
        /* Responsive design for mobile devices */
        @media (max-width: 768px) {
            .mm-buttons-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 10px;
            }
            
            .mm-button {
                padding: 15px 20px;
                font-size: 14px;
            }
            
            .mm-buttons-title {
                font-size: 2rem;
            }
            
            .mm-buttons-subtitle {
                font-size: 1rem;
            }
            
            .mm-buttons-container {
                padding: 0 20px;
            }
        }
        
        @media (max-width: 480px) {
            .mm-button {
                padding: 12px 18px;
                font-size: 13px;
            }
            
            .mm-buttons-container {
                padding: 0 15px;
            }
        }
