/* EXACT REPLICATION OF ORIGINAL SITE */
.msp-container {
    min-height: 100vh;
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.msp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.msp-nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msp-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.msp-nav-link {
    font-size: 0.875rem;
    color: #d1d5db;
    transition: color 0.2s;
    text-decoration: none;
}

.msp-nav-link:hover {
    color: #d4af37;
}

.msp-nav-button {
    background: linear-gradient(to right, #d4af37, #f4d03f);
    color: #000000;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.msp-nav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.1);
}

/* Hero Section */
.msp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 1rem;
}

.msp-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.msp-hero-content {
    max-width: 56rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.msp-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #f3f4f6, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.msp-hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
    line-height: 1.625;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.msp-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.msp-button-primary {
    background: linear-gradient(to right, #d4af37, #f4d03f);
    color: #000000;
    border: none;
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.msp-button-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.3);
}

.msp-button-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.msp-button-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}

/* Calculator Styles */
.msp-calculator-section {
    padding: 5rem 1rem;
    background: #1a1614;
    position: relative;
}

.msp-calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.msp-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.msp-section-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.msp-calculator {
    max-width: 56rem;
    margin: 0 auto;
    background: #0a0a0a;
    border-radius: 1rem;
    border: 1px solid #2a2520;
    padding: 2rem;
}

.msp-calculator-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: #1a1614;
    padding: 0.25rem;
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

.msp-tab {
    padding: 0.625rem 1rem;
    border-radius: 0.25rem;
    background: transparent;
    color: #9ca3af;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.msp-tab.active {
    background: linear-gradient(to right, #d4af37, #f4d03f);
    color: #000000;
}

.msp-tab-content {
    display: none;
}

.msp-tab-content.active {
    display: block;
}

.msp-form-group {
    margin-bottom: 1.5rem;
}

.msp-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.msp-time-input {
    width: 100%;
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.msp-time-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.msp-slider-container {
    margin: 1.5rem 0;
}

.msp-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 0.5rem;
    background: #2a2520;
    border-radius: 9999px;
    outline: none;
}

.msp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border: 2px solid #d4af37;
    border-radius: 9999px;
    cursor: pointer;
}

.msp-slider::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border: 2px solid #d4af37;
    border-radius: 9999px;
    cursor: pointer;
}

.msp-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Results Display */
.msp-results {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
    display: none;
}

.msp-results.show {
    display: grid;
}

.msp-result-card {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.msp-result-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 25px -5px rgba(212, 175, 55, 0.1);
}

.msp-cycle-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 208, 63, 0.1));
    color: #d4af37;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.msp-result-times {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.msp-time-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msp-time-label {
    color: #9ca3af;
    font-size: 0.875rem;
}

.msp-time-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
}

.msp-alarm-button {
    width: 100%;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.msp-alarm-button:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

/* Features Grid */
.msp-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .msp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .msp-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.msp-feature-card {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.msp-feature-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 25px -5px rgba(212, 175, 55, 0.1);
}

.msp-feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 208, 63, 0.1));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.msp-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.msp-feature-description {
    color: #9ca3af;
    line-height: 1.625;
}

/* FAQ Accordion */
.msp-faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.msp-faq-item {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.msp-faq-item.open {
    border-color: rgba(212, 175, 55, 0.5);
}

.msp-faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    color: #ffffff;
    transition: color 0.2s;
}

.msp-faq-question:hover {
    color: #d4af37;
}

.msp-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #9ca3af;
    line-height: 1.625;
    display: none;
}

.msp-faq-item.open .msp-faq-answer {
    display: block;
}

.msp-faq-toggle {
    transition: transform 0.3s;
}

.msp-faq-item.open .msp-faq-toggle {
    transform: rotate(180deg);
}

/* Contact Form */
.msp-contact-form {
    max-width: 56rem;
    margin: 0 auto;
}

.msp-form-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .msp-form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.msp-input-wrapper {
    position: relative;
}

.msp-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.msp-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2520;
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    color: white;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.msp-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.msp-textarea {
    min-height: 120px;
    resize: vertical;
    padding: 0.625rem 0.875rem;
}

.msp-textarea.msp-input-icon {
    padding-left: 0.875rem;
}

/* Loading State */
.msp-loading {
    text-align: center;
    padding: 3rem;
}

.msp-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: msp-spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes msp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.msp-error {
    text-align: center;
    padding: 2rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 0.5rem;
    color: #fca5a5;
}

/* Footer */
.msp-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(42, 37, 32, 0.5);
    padding: 3rem 1rem;
}

.msp-footer-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.msp-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.msp-footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.msp-footer-link:hover {
    color: #d4af37;
}

.msp-copyright {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .msp-hero-title {
        font-size: 2.25rem;
    }
    
    .msp-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .msp-button-primary,
    .msp-button-secondary {
        width: 100%;
        max-width: 20rem;
    }
    
    .msp-nav-menu {
        display: none;
    }
    
    .msp-mobile-menu-button {
        display: block;
    }
}

/* Mobile Menu */
.msp-mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .msp-mobile-menu-button {
        display: block;
    }
    
    .msp-mobile-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: #0a0a0a;
        border-top: 1px solid #2a2520;
        padding: 1rem;
        display: none;
        flex-direction: column;
        gap: 1rem;
        z-index: 40;
    }
    
    .msp-mobile-menu.open {
        display: flex;
    }
}
/* Additional styles for How It Works and FAQ templates */

/* How It Works specific */
.msp-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .msp-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

.msp-step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
}

.msp-step-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 208, 63, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.msp-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.msp-step-description {
    color: #9ca3af;
    line-height: 1.625;
}

/* FAQ specific */
.msp-faq-item {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.msp-faq-item:hover,
.msp-faq-item.active {
    border-color: rgba(212, 175, 55, 0.5);
}

.msp-faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.msp-faq-question:hover {
    color: #d4af37;
}

.msp-faq-toggle {
    transition: transform 0.3s;
    color: #9ca3af;
}

.msp-faq-item.active .msp-faq-toggle {
    transform: rotate(180deg);
    color: #d4af37;
}

.msp-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.msp-faq-item.active .msp-faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 2000px;
}

.msp-faq-answer p {
    color: #9ca3af;
    line-height: 1.625;
    margin-bottom: 1rem;
}

.msp-faq-answer p:last-child {
    margin-bottom: 0;
}
/* Hero Section Additional Styles */
.msp-hero-note {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* How It Works Section */
.msp-how-it-works {
    background: linear-gradient(to bottom, #0a0a0a, #1a1614);
    padding: 5rem 1rem;
    position: relative;
}

.msp-how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.msp-steps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .msp-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.msp-step-card {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.msp-step-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.msp-step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.75rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 1rem;
}

.msp-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.msp-step-description {
    color: #9ca3af;
    line-height: 1.625;
}

.msp-science-note {
    background: linear-gradient(135deg, #1a1614, #2a2520);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
}

.msp-science-note h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.msp-science-note p {
    color: #d1d5db;
    line-height: 1.625;
    font-size: 1.125rem;
}

/* Contact Section */
.msp-contact {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, #1a1614, #0a0a0a);
    position: relative;
}

.msp-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.msp-contact-form-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.msp-contact-form {
    background: #1a1614;
    border: 1px solid #2a2520;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.msp-contact-form::before {
    content: '';
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 16rem;
    height: 16rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.msp-input-with-icon {
    position: relative;
}

.msp-input-with-icon svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.msp-input-with-icon .msp-input {
    padding-left: 2.5rem;
}

.msp-textarea {
    min-height: 120px;
    resize: vertical;
    padding: 0.625rem 0.875rem;
}

.msp-form-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* FAQ Section */
.msp-faq {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, #1a1614, #0a0a0a);
    position: relative;
}

.msp-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Features Section Background */
.msp-features-section {
    padding: 5rem 1rem;
    background: #0a0a0a;
    position: relative;
}

.msp-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Footer Styles */
.msp-footer-section {
    background: #0a0a0a;
    border-top: 1px solid rgba(42, 37, 32, 0.5);
    padding: 3rem 1rem;
}

.msp-footer-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.msp-footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.msp-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.msp-footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.msp-footer-link:hover {
    color: #d4af37;
}

.msp-copyright {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
}