/* Hate Calculator Styles */

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ff4c4c 0%, #111 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.main-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #f6c744;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px #f6c744; }
    to { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px #f6c744, 0 0 30px #f6c744; }
}

.subtitle {
    font-size: 1.5rem;
    color: #ff4c4c;
    margin-bottom: 10px;
    font-weight: 600;
}

.description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Form Styles */
.form-section {
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}


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

.partner-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #f6c744;
}

.partner-title {
    font-size: 1.5rem;
    color: #f6c744;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

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

.input-group input:focus {
    outline: none;
    border-color: #f6c744;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(246, 199, 68, 0.3);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Context Section */
.context-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #ff4c4c;
    margin-bottom: 30px;
}

.context-title {
    font-size: 1.5rem;
    color: #ff4c4c;
    margin-bottom: 25px;
    font-weight: 700;
}

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

.dropdown-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.dropdown-group select:focus {
    outline: none;
    border-color: #ff4c4c;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 76, 76, 0.3);
}

.dropdown-group select option {
    background: #111;
    color: #fff;
}

/* Button Styles */
.button-section {
    text-align: center;
}

.calculate-btn {
    background: linear-gradient(45deg, #ff4c4c, #f6c744);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: #111;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 76, 76, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 76, 76, 0.4);
    background: linear-gradient(45deg, #f6c744, #ff4c4c);
}

.calculate-btn:active {
    transform: translateY(-1px);
}

/* Results Styles */
.results-section {
    margin-top: 40px;
    margin-bottom:40px;
}

.result-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hate-score-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 3px solid #ff4c4c;
}

.hate-score {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: #f6c744;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hate-type {
    font-size: 2rem;
    color: #ff4c4c;
    margin-bottom: 15px;
    font-weight: 700;
}

.hate-quote {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 500;
}

/* Clash Cards */
.clash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.clash-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid;
    transition: all 0.3s ease;
    animation: flipIn 0.6s ease-in-out;
}

@keyframes flipIn {
    from { transform: rotateY(-90deg); opacity: 0; }
    to { transform: rotateY(0); opacity: 1; }
}

.zodiac-card {
    border-color: #9b59b6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(0, 0, 0, 0.4));
}

.numerology-card {
    border-color: #3498db;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(0, 0, 0, 0.4));
}

.karmic-card {
    border-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(0, 0, 0, 0.4));
}

.clash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.clash-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.signs, .paths, .archetype {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f6c744;
}

.clash-type {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ff4c4c;
}

.explanation, .karmic-quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.export-btn, .share-btn, .reset-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.export-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #fff;
}

.share-btn {
    background: linear-gradient(45deg, #3498db, #5dade2);
    color: #fff;
}

.reset-btn {
    background: linear-gradient(45deg, #95a5a6, #bdc3c7);
    color: #111;
}

.export-btn:hover, .share-btn:hover, .reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .clash-cards {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .export-btn, .share-btn, .reset-btn {
        width: 200px;
    }
    
    .container {
        padding: 10px;
    }
    
    .form-section {
    padding: 0px; 
    }
    .result-container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .hate-score {
        font-size: 2.5rem;
    }
    
    .hate-type {
        font-size: 1.5rem;
    }
    
    .partner-section, .context-section {
        padding: 20px;
    }
}


/* Enhanced Score Ring Styles */
.score-ring-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.score-ring {
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 10px rgba(246, 199, 68, 0.3));
}

.score-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    fill: #f6c744;
    font-weight: bold;
}

.score-label {
    font-size: 0.9rem;
    fill: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.score-progress {
    transition: stroke-dashoffset 2s ease-in-out;
}

/* Compatibility Meter */
.compatibility-meter {
    margin-top: 20px;
    text-align: center;
}

.meter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.meter-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 auto 8px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4c4c, #f6c744, #27ae60);
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

.meter-text {
    font-size: 0.9rem;
    color: #f6c744;
    font-weight: 600;
}

/* Enhanced Clash Cards */
.card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h4 {
    margin: 0;
    flex: 1;
}

.intensity-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intensity-high {
    background: #ff4c4c;
    color: #fff;
}

.intensity-medium {
    background: #f6c744;
    color: #111;
}

.intensity-low {
    background: #27ae60;
    color: #fff;
}

/* Signs Display */
.signs-display, .paths-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.sign-item, .path-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sign-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.sign-name {
    font-weight: 600;
    color: #f6c744;
}

.path-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f6c744;
    margin-bottom: 5px;
}

.path-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.vs-divider {
    font-weight: 700;
    color: #ff4c4c;
    font-size: 1.2rem;
    margin: 0 15px;
}

/* Archetype Display */
.archetype-display {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.archetype-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.archetype-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f6c744;
}

.relationship-context {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.context-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.context-value {
    color: #f6c744;
    font-weight: 600;
    margin-left: 10px;
}

.karmic-insight {
    margin: 15px 0;
    padding: 12px;
    background: rgba(231, 76, 60, 0.2);
    border-left: 4px solid #e74c3c;
    border-radius: 5px;
    font-size: 0.9rem;
}

.conflict-score {
    margin-top: 15px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff4c4c;
    text-align: center;
}

/* Detailed Analysis Section */
.detailed-analysis {
    margin: 40px 0;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid #f6c744;
}

.detailed-analysis h3 {
    color: #f6c744;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

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

.analysis-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff4c4c;
}

.analysis-item h4 {
    color: #f6c744;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.analysis-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .score-ring {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .signs-display, .paths-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .vs-divider {
        margin: 10px 0;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Enhanced Results Styles */
.elemental-tension, .karmic-root, .astrological-correlation {
    margin: 10px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.9rem;
}

.shadow-aspects ul, .vibrational-analysis ul {
    margin: 8px 0;
    padding-left: 20px;
}

.shadow-aspects li, .vibrational-analysis li {
    margin: 5px 0;
    font-size: 0.85rem;
}

.archetype-subtype {
    font-size: 0.9rem;
    color: #f6c744;
    font-style: italic;
    margin-top: 5px;
}

.karmic-lesson, .shadow-light-aspects {
    margin: 10px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.9rem;
}

.shadow-aspect, .light-aspect {
    margin: 8px 0;
    padding: 6px;
    border-left: 3px solid #f6c744;
    background: rgba(246, 199, 68, 0.1);
}

.trigger-warning {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 76, 76, 0.2);
    border: 1px solid rgba(255, 76, 76, 0.3);
    border-radius: 5px;
    font-size: 0.9rem;
    color: #ffcccc;
}

.alchemical-section {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.alchemical-section h3 {
    color: #dda0dd;
    margin-bottom: 15px;
    text-align: center;
}

.transmutation-text {
    font-style: italic;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e6e6fa;
}

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

.analysis-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-item h4 {
    color: #f6c744;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.analysis-item ul {
    margin: 10px 0;
    padding-left: 20px;
}

.analysis-item li {
    margin: 8px 0;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .shadow-aspects ul, .vibrational-analysis ul {
        padding-left: 15px;
    }
    
    .alchemical-section {
        margin: 20px 0;
        padding: 15px;
    }
}


/* --- Add this to your style.css file --- */

/* Spinner Styles */
.spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.spinner-ring {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #f6c744; /* Spinner color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.spinner-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* New Content Sections Styles */

/* Introduction Section */
.intro-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding-top: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #f6c744;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(246, 199, 68, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #f6c744;
    box-shadow: 0 10px 25px rgba(246, 199, 68, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #f6c744;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #ff4c4c;
}

.how-it-works h2 {
    font-size: 2.5rem;
    color: #ff4c4c;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

.step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 76, 76, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: #ff4c4c;
    box-shadow: 0 8px 20px rgba(255, 76, 76, 0.2);
}

.step-number {
    background: linear-gradient(45deg, #ff4c4c, #f6c744);
    color: #111;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 76, 76, 0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    color: #f6c744;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefits-section h2 {
    font-size: 2.5rem;
    color: #f6c744;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

.benefit-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(246, 199, 68, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: #f6c744;
    box-shadow: 0 8px 20px rgba(246, 199, 68, 0.2);
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: #f6c744;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #ff4c4c;
}

.faq-section h2 {
    font-size: 2.5rem;
    color: #ff4c4c;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

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

.faq-item:hover {
    border-color: rgba(246, 199, 68, 0.5);
}

.faq-item.active {
    border-color: #f6c744;
    box-shadow: 0 5px 15px rgba(246, 199, 68, 0.2);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(246, 199, 68, 0.1);
    color: #f6c744;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f6c744;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-section h2 {
    font-size: 2.5rem;
    color: #f6c744;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.principle-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(246, 199, 68, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.principle-card:hover {
    transform: translateY(-3px);
    border-color: #f6c744;
    box-shadow: 0 8px 20px rgba(246, 199, 68, 0.2);
}

.principle-card h3 {
    font-size: 1.3rem;
    color: #f6c744;
    margin-bottom: 15px;
    font-weight: 600;
}

.principle-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #f6c744;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 10px;
}

/* Form Section Enhancement */
.form-section h2 {
    font-size: 2.5rem;
    color: #f6c744;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .intro-content h2,
    .how-it-works h2,
    .benefits-section h2,
    .faq-section h2,
    .about-section h2,
    .form-section h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .benefits-grid,
    .cosmic-principles {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .intro-section,
    .how-it-works,
    .benefits-section,
    .faq-section,
    .about-section {
        padding: 25px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .intro-content h2,
    .how-it-works h2,
    .benefits-section h2,
    .faq-section h2,
    .about-section h2,
    .form-section h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .step-card,
    .benefit-card,
    .principle-card {
        padding: 20px;
    }
    
    .intro-section,
    .how-it-works,
    .benefits-section,
    .faq-section,
    .about-section {
        padding: 20px;
    }
}

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

.feature-card,
.step-card,
.benefit-card,
.principle-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(2) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.3s; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.faq-question:focus,
.calculate-btn:focus,
input:focus,
select:focus {
    outline: 2px solid #f6c744;
    outline-offset: 2px;
}

/* Loading States */
.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.calculate-btn.loading {
    position: relative;
    color: transparent;
}

.calculate-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #111;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Hover Effects */
.feature-card:hover .feature-icon,
.step-card:hover .step-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover h3,
.principle-card:hover h3 {
    color: #fff;
    transition: color 0.3s ease;
}

/* Card Gradient Overlays */
.feature-card::before,
.step-card::before,
.benefit-card::before,
.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(246, 199, 68, 0.1), rgba(255, 76, 76, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.feature-card:hover::before,
.step-card:hover::before,
.benefit-card:hover::before,
.principle-card:hover::before {
    opacity: 1;
}

/* Ensure relative positioning for pseudo-elements */
.feature-card,
.step-card,
.benefit-card,
.principle-card {
    position: relative;
}


/* 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;
            }
        }
